1) Given an array of numbers where each number has a duplicate except one, write a program to return the lone number.
Development Interview Questions
137,200 development interview questions shared by candidates
Given two (huge) sets, what is an efficient way to find their intersection?
Given an integer N and an array of unsorted integers A find all pairs of numbers within A which add up to N. (This is the only question I can remember and I had trouble thinking of an answer at the time)
Telephone interview: Find largest integer from an array of integers. The integers in the array are arranged in strictly increasing (no 2 integers are same) or strictly increasing then decreasing; so like a curve and you have to find the peak. Discuss time complexity. Write code.
Test if a Binary tree is BST or not
Given 999 distinct numbers between 1 and 1000, find one/two that is/are missing.
inorder traverse of a tree without.recursive
Given an int array, find the sequence of elements that has the largest sum
You have a pile of coins. One of them is counterfeit, and its weight is different from the other coins. All of the other coins weigh the same. You are given a balance. How would you find the counterfeit coin? Now code it up.
sell an MBA course to the 65 years old retired person who is already done with PHD and MBA in HR and Marketing
Viewing 251 - 260 interview questions