Ice Cream Parlor

  • + 2 comments

    But if we do binary search, before that we have to sort it and in that case the index of the numbers were changed and finally we have to return the index not the number.