I think I am the only who solve question 2 and 3 using stack. Anyone else try to solve both question using stack??
Thanks