Staff Software Engineer Interview Questions

2,628 staff software engineer interview questions shared by candidates

Interviewer forgot the question he wanted to ask.. then he tried to make statement about the question using wrong words.. The question he asked was - Create a mirror reflection of binary tree - for that he asked - "do I know what is a symmetric tree" I explained him what is symmetric tree and how I can check symmetric tree. Interviewer realized this is not the question he wanted to ask then he asked lets create symmetric (mirror) reflection of a tree. I wrote the code to create mirror reflection of the tree.. I think he remembered the answer for "Invert a binary tree" and argued with me that my code to create a mirror will overwrite left node value and did not understand I am creating new tree (mirror tree) so there is no overwrite. It took 20 minutes of worthless conversation and the interviewer still did not get the simple code I wrote in 2 minutes. The interviewer was PhD - Sr. Staff with 20+ years of experience. I felt so miserable for my luck. I think that is why Google / Facebook still are the most reputed
avatar

Staff Software Engineer

Interviewed at LinkedIn

3.8
Feb 1, 2020

Interviewer forgot the question he wanted to ask.. then he tried to make statement about the question using wrong words.. The question he asked was - Create a mirror reflection of binary tree - for that he asked - "do I know what is a symmetric tree" I explained him what is symmetric tree and how I can check symmetric tree. Interviewer realized this is not the question he wanted to ask then he asked lets create symmetric (mirror) reflection of a tree. I wrote the code to create mirror reflection of the tree.. I think he remembered the answer for "Invert a binary tree" and argued with me that my code to create a mirror will overwrite left node value and did not understand I am creating new tree (mirror tree) so there is no overwrite. It took 20 minutes of worthless conversation and the interviewer still did not get the simple code I wrote in 2 minutes. The interviewer was PhD - Sr. Staff with 20+ years of experience. I felt so miserable for my luck. I think that is why Google / Facebook still are the most reputed

Viewing 311 - 320 interview questions

Glassdoor has 2,628 interview questions and reports from Staff software engineer interviews. Prepare for your interview. Get hired. Love your job.