HI,
I want to share with you guys my phone interview that I got two days ago.
the problem is very simple, but unfortunately, I couldn't find the optimum solution.
it's so close to one of the leetcode problem, here's the statement:
given an array with duplicates values, remove the latter in space
(without creating a new array or any kind of data structure).
how would you do that ?
by the way, I failed this interview so the journey stopped right at the beginning. But no suprise there because I didn't studied more than a week and didn't do 1000 leetcode problem. juste a couple of them.