1. The police have managed to capture three suspects in a local bank robbery case. After intensive questioning, the three suspects have spoken. If we know that one of them always lies, and the other two always tell the truth. Who is guilty. 1. Sam - ‘I am innocent’ 2. Will - ‘I am innocent’ 3. Jenny - ‘Will is guilty’
Developer Interview Questions
268,884 developer interview questions shared by candidates
What is a setter/ what is a getter? What is their purpose?
1. To add an HTTP request to the search engine, then log a result depending on the# of pages and requirements. 2. Use DP to implement a Knapsack-like problem. Restrictions on time complexity. 3. Implement a to-do list's delete method on website.
Write a program to find (x^y) % z
Write a code to check whether partially filled sudoku is proper or not
Reverse an integer using C.
Can't remember the details, but was asked a question regarding dropping eggs off high buildings to determine the height at which an egg would first break.
There are 25 horses, and each runs at different constant speeds. If you want to find the 5 fastest horses, what is the minimum number of races needed, if each race can have five horses at most?
Find if given text does have matching [ { ( opening and closing. So ({[]}) is valid and ({)} is invalid. They should open and close in proper order.
If you have 2 coins in your pocket (one is double-headed, and the other is a fair coin), you grab a random coin from your pocket and see that one face is a head. What is the probability that if you flip the coin, the other face is also a head (i.e. that you picked the double-headed coin)?
Viewing 161 - 170 interview questions