Post interesting/challenging software-related interview questions.
There are 25 horses. At most, 5 horses can race together at a time. You must determine the fastest, second fastest, and third fastest horses. Find the minimum number of races in which this can be done.
A singly-linked list has a cycle in it. You have a pointer to the root element. How can you find the cycle?
You are given 12 coins. One of them is lighter or heavier than the others. You can use three weighings. You have to identify the different coin.