Ixigo.com interview question

jump game 1, 2 from leet code