Something to help with Solution


#1

They haven’t explained the solution clearly I feel as in real interview how you would reach this solution is hard to think. A little back knowledge of Moore’s Voting Algorithm is required for this followed up by a geeks article - Here