1st round write a code for LRU cache
I wrote a solution but my solution was taking O(n) but the interviewer was expecting O(1) so I was rejected.
I am not sad that I didn't clear the interview. After my first round. Interviewer told he will give feedback to HR. I waited in the room or 20min . When it was too much I went ot receptionist and asked her to call HR. When she called HR he told her that I can leave for the day.
To HR : be generous to the candidate who has come for interview. The day may not be his day so he din clear the interview. What ever it is a candidate clears the interview or not do go meet them personally and convey the msg. I felt it very rude behavior of the HR.