I was given a problem statement for which I had to describe and implement a possible solution.
A couple of data structures and algorithms questions and we had a discussion about the position.
Questions d'entretien [1]
Question 1
Assuming you have an array in which more than half of the elements have the same value. How would you find that value?