Updated more questions.

Used stack to solve question 2.2.