Algorithms-and-Data-Structures-in-Java
Algorithms-and-Data-Structures-in-Java copied to clipboard
Issue in the return of the CelebrityProblem
Since the we are only assuming that the first person is the celebrity while returning first person as output , we should return the only thing that is remained in the stack after the check