100 doors to be painted
You have 100 doors to be painted and 2 painters. 1 starts at one end and paints every other door. […]
You have 100 doors to be painted and 2 painters. 1 starts at one end and paints every other door. […]
IF You have 5 unbreakable light bulbs and a 80 floor building. Using fewest possible drops, determine how much of
2026 Update: Sorted Matrix Search — From O(mn) to O(m+n) If the matrix is sorted (rows and columns both non-decreasing),
Implement a function to return a ratio from a double function (0.25 -> 1/4). If the function tolerance is .01
Three people need to cross a weak bridge at night. They have just one turn and the bridge is only
How would you design a server that has to process a fair number of functions of a requests in a
Write a multiply function that multiples 2 integers without using “*”. 2026 Update: Integer Multiplication — Without Using Multiply Operator
Without marking nodes, find out if a linked list has a cycle in it or not. 2026 Update: Floyd’s Cycle
You have 3 jars that are all mislabeled. One jar contains Apple, another contains Oranges and the third jar contains
A man has two ropes of varying thickness, those two ropes are not identical, they aren’t the same density nor
Write a function for r and 5() that returns a random int between 0 and 5, implement r and 7
Out of 10 coins, one weighs less then the others. You have a scale. How will you determine which one
The probability of a car passing a certain intersection in a 20 minute windows is 0.9. What is the probability
Write a function that will find a missing or duplicated number in an array. 2026 Update: Missing & Duplicate Number
Write code to generate all possible combinations of ‘r’ elements in a given array of size ‘n’? 2026 Update: Probability