find common ancestor in binary tree
Software Development Test Engineer Interview Questions
5,401 software development test engineer interview questions shared by candidates
String manipulation related questions were asked
Write code to reverse a linked list from its mid point. So 1->2->3->4->5->6->7 becomes 1->2->3->7->6->5->4
Implement atoi()
Asked question: Using an already implemented method Rand5() that generates a random integer between the ranges 1-5 uniformly. Using this method, implement a a new method that returns a random integer in the range 1-7 uniformly, i.e. Rand7(). Basically this is Rejection Sampling Algorithm. See http://leetcode.com/2010/11/rejection-sampling.html
Tree Data Structure
Program: Let's say U1,U2 are friends and vice versa. So given a list of friends, you need to find unique set of friends. For eg: U1,U2 U2,U3 U4,U5, U2,U1, U4,U5 Should return: U1,U2; U2,U3; U4,U5
How will you find two strings are anagram?
Puzzle
Q: Most challenging part of coding you have
Viewing 181 - 190 interview questions