if there are 9 white balls and 7 black balls in a bag .You have to take out balls one by one from the bag.then in how many attempts you wilk get a matched pair
Developer Interview Questions
270,873 developer interview questions shared by candidates
If you toss a coin n times, what's the expected value of n if you get the 2nd head?
return true if array of size n contains a permutation of [1,n]
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’
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.
Viewing 131 - 140 interview questions