Given a number find it is one less than the power of two.
Senior Test Lead Interview Questions
26,666 senior test lead interview questions shared by candidates
Interview was pretty simple,good amount of basic questions were asked in the written test.
Given a set of numbers -50 to 50, find all pairs that add up to a certain sum that is passed in. What's the O notation for what you just wrote? Can you make it faster? Can you find an O(n) solution? Implement the O(n) solution
Most of them were expected. Almost all are problem solving questions. 1. Given a BST with following property find the LCA of two given nodes. Property : All children has information about their parents but the parents do not have information about their children nodes. Constraint - no additional space can be used
I was asked a pretty straight forward brain teaser during my last phone interview, which they said they don't normally do, but because I put that I was a logical problem solver on my resume they couldn't resist the opportunity to. It was the following "There are 20 different socks of two types in a drawer in a completely dark room. What is the minimum number of socks you should grab to ensure you have a matching pair?"
Given a list of n numbers. All numbers except one are unique. Find the number with duplicate entry.
Describe and code an algorithm that returns the first duplicate character in a string?
Data structures and Algorithms related
Find from alist of numbers where each number is repeating even number of times except one. Find that number ?
In a given sorted array of integers remove all the duplicates.
Viewing 1 - 10 interview questions