Question d’entretien chez Paytm

leetcode jump problem was asked to code