how to find the closest predecessor of a node in binary by doing inorder traversal.
Lead Software Engineer In Test Interview Questions
3,883 lead software engineer in test interview questions shared by candidates
Implement enqueue and dequeue using stacks.
Write an algorithm to pick the mayor of a town. There is a random number that is chosen and every nth person on the list is deleted until the mayor is chosen.
reverse an int
Leetcode easy type question using Java.
Nothing really difficult when compared to rest of the industry
Given a Stack with n elements, write a method that always keeps the max of the stack?
Reverse a linked list
The questions were easy on my understanding. If i have to rank the questions, then the most difficult among them was, to write a program to generate Roman numerals from the decimal numbers.
Problem solving question: You have a list of numbers from 1 to 1000000 and one number is missing, but you don't know what it is. If you can only go through the numbers once, how do you find the missing number.
Viewing 571 - 580 interview questions