https://practice.geeksforgeeks.org/problems/egg-dropping-puzzle/0