91mobiles interview question

n eggs m floor algorithm puzzle