Pergunta de entrevista da empresa Paytm

leetcode jump problem was asked to code