Given two nodes in a binary tree, find their first common ancestor (if it exists).
Software Development Engineer Intern Interview Questions
2,326 software development engineer intern interview questions shared by candidates
Signed NDA, so can't tell, but mostly related to String and array manipulation
Describe a time you went above and beyond in customer facing interactions.
They asked me to traverse a tree and find the highest value on each level
Binary search on a sorted array that was rotated once
I was asked two questions - how will you know which is the starting point in a circular linked list (write a program) and write a program to return two numbers from a function to the main
-Write a method that prints out an in order traversal of a binary tree
There was as such no hard question for me. But unfortunately i was not prepared for this interview. Frankly this was my first ever interview. So yes i was bit nervous and i didn't knew about the tips and tricks for cracking the interview at that time. I was asked the following 2 questions: 1. given a tree, do the level order traversal of the tree. Explain the logic and write it's proper code not pseudo-code. 2 given a link list, Reverse a Linked List in groups of given size. write it's code.
1. Implement a hashset from scratch, write code for various methods of hashset. 2. Find all the pairs of numbers from a list that sums to a particular number.
Question about a situation in which the deadline was near.
Viewing 381 - 390 interview questions