Given two strings, find if they differ by exactly two letters.
Software Interview Questions
748,383 software interview questions shared by candidates
Write a function to tell if three points are colinear.
Merge to sorted arrays into second array, both arrays has N elements, but second array size is N * 2. So you merge both arrays in second array in a sorted way.
Write a piece of code to find the square root of a number.
How do you find the middle of a linked list, rounding up in the case of an odd number of items but with no differentiation between an even or odd number?
Design a stack that has an O(1) max() method.
The second question is that there are 8 buttons, 7 of them are some, one is a bit little heavier, and you have a balance, how could find the heavier one, you can just use the balance twice.
Most efficient way to find the most frequent number (0-255) in a string of numbers
You have 4 aces and a king in a set of cards, what's the probability of get kind before all aces.
Sequence of numbers in random order and 1 of them is missing how to find that out...
Viewing 1601 - 1610 interview questions