Round 0 - hackerrank test
Round 1 - Phone screen
I explained O(N^2) approach to solve this problem and said I am thinking of optimized one, after couple of mins he interrupted and said at the end of the interview we want to some code to review so either you can write code for this approach itself or think for better approach. I decided if code is mandatory then better to write this one then optimize later if possible - I wrote and explained time and space complexity and didn't had time left to optimize it
Got rejection in next hour!