One of the questions was asked by Ahmed Bashir, who (I later learned) was a Director level and the manager of the hiring manager. The question was as follows. You are given 25 horses. In each race only up to 5 horses can run and each race only reveals the ranking between the horses (i.e., we do not know the actual time). What is the minimum number of races you need to have in order to reveal the 3 fastest horses between the 25.
Software Interview Questions
551,308 software interview questions shared by candidates
Is the given number a bitwise palindrome?
Define a macro for byte offset of a given field in a structure.
Implement a selection sort, and then he asked me: Given a single-elimination tournament with 99 players, how many games must be played until there is one winner left.
There are ten buckets of lead weights, with nine of them having equal weights of 10 grams each, while one of them has weights of 11 grams each. You want to find out which bucket has weights of 11 grams each, by using a scale, but you can only turn on the scale once.
how to reverse a link list
What is the difference between a hard link and a symbolic link?
How would you speed up your typical bit reversal algorithm?
Find the missing in an array filled with numbers 1 to n and the size of array is one less than the total numbers. For ex, 1,2,4,5. array is given, find the missing number from first n(here n=5) numbers
Check if 2 strings are palindrome?
Viewing 2511 - 2520 interview questions