they gave an example of n=100, but i doubt there will be 14 egg drops
even after getting extremely unlucky i get 8 chances (using binary search)
let us suppose the egg breaks from 100 floor
It’d be a good idea to link the question and potentially your code. There’s not enough here for anyone to go on. See How to ask good questions (and get good answers) for some great advice about what to include when asking questions .