Egg Drop With 2 Eggs and N Floors
You have 2 eggs and you want to determine the highest floor from n floors from which an egg can be dropped without breaking. The challenge is to find the minimum number of attempts it will take to determine this floor, using the given 2 eggs.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)