Last index problem

actually i didnt understood how to use recurssion here

@vanisinghal0201 start traversing the array if found keep updating the index and calling at i+1 and at last return it have a look at this https://ide.codingblocks.com/s/36550?_ga=2.247072644.1601722286.1588768263-2038584615.1588768263

if its cleared dont forget to mark it as resolved @vanisinghal0201 :smiley: