Hello everyone,
Today i gave my Google phone screen round for L3 position.
i want to ask what are the chances of me moving forward to onsite.
Interviewer gave me problem based on priority Queue.
initially i started with understanding the problem. then i told the approach quickly then the interviewer asked me for TC and SC i told TC for every operation.
mistakenly i told that O(k) time complexity will be for removal from heap omg it was blunder when interview was over i realised it, O(k) was for removal of elements from the set. mistakenly i said heap.
interviewer asked me if i can do better i said this is the most effocient approach i can think of(i checked later i was most effocient)
then the interviewr seemed satisfied i started implimenting the code and i started explaining line by line why i am doing this and that.
i coded the solution, the interviewer told me that there is one problem with my code. i took some time and fixed it myself.
then there was one thing which i implimented for lazy deletion she asked me why i am doing this then i told that it is to make the deletion from heap faster. interviewer wasn't satisfied with this answer
after that time was over and the interview ended.
the implimentation was correct, but she did not ask me much questions related to my solution because of this i am feeling that maybe i didn't communicate my solution properly. or she understood everything i was implimenting.
what are my chances to move to onsite?


