So in Nov 2021, I had given the interview for C++ developer position. It was very pathetic experience, The guy who took my interview does not have any clue what he was asking and in middle of the interview he stopped me and concluded the interview. Below are the questions that was asked.
1) Write a code to check balanced parentheses?
--> Sound simple right? but interviewer doesn't know what balanced parentheses is.
for eg . He told me string "{{{]]]}}}[[[" is balanced.(as number of opening braces is equal to closing braces...WOW!).
How can someone in such big tech company can make this statement. I tried convincing him what balanced braces means, but he started asking me more questions on this problem which i was not able to explain as questions itself is incorrect.
2) Explain memory map in C++
--> I explained him about heap & stack.
3) Can we do Insert, Update and Delete operation in circular doubly linked list and return head?
--> I said YES, he told me to write the code, i was about to complete the code for insert(), he interrupted me and concluded the interview.
The experience was so worst that i couldn't resist myself to post it.
MAY LORD GAJANAN BLESS VERITAS.