← Amazon questions
CodingEasy

Two eggs drop puzzle

Filed under Amazon

Given two identical eggs and a building with n floors, find the minimum number of drops needed in the worst-case scenario to find the highest floor from which an egg can be dropped without breaking.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.