Two Egg Problem: Minimum Worst-Case Drops
Hard logic-puzzles interview practice: Two Egg Problem: Minimum Worst-Case Drops.
You have 2 identical eggs and a 100-story building. You need to find the critical floor where eggs start breaking. What is the minimum number of drops needed in the worst case?