LinkedIn interview question

All O one data structure

Interview Answer

Anonymous

18 Jun 2025

Started with a problem which is tagged Hard on Leetcode. I tried asking couple of clarifying questions, no response from the other side. After asking multiple times, "Are you there?", finally got a response from him. He was not paying attention to the solution that I was proposing, only wanted the solution that he had in his mind. I gave couple of solutions, optimised one of them, coded it and ran and passed it against couple of test cases. But he needed another solution which he had in his mind. Got the rejection call couple of days later.