There is a array, find repetitive values and return in an array.
Anonymous
I choose c++ for solving this question. and first explain the approach and then write the code. i was used map for solving. code was successfully executed and after that interviewer provide some more test case to run and that was run.
Check out your Company Bowl for anonymous work chats.