HelpRahul ToSearch(geting wrong ans)

hi @vikashkmr519,
In question you are said that he does not have time to sort the array again . So do not change the index by using Arrays.Sort fuction . Just remove that line of code and then submit , your code will run fine