MR J,
In Binary sort algorithm
You have mentioned that drop the first from 50th floor if it breaks drop it from 25 …till that i can understand after that you have mentioned ELSE drop it from 75. if it crosses 50 it will surely break then why are we dropping from 75?
“You will boil me in oil” should have been his statement but probably not the last statement.
Right you are Pradeep…
regards
J
Sir, could u please update the index in the blog. Blog was last updated in Oct. Please 🙂
Updated, Vivek 🙂
regards
J
MR J,
In Binary sort algorithm
You have mentioned that drop the first from 50th floor if it breaks drop it from 25 …till that i can understand after that you have mentioned ELSE drop it from 75. if it crosses 50 it will surely break then why are we dropping from 75?
Else means: “If it DOESN’T break at 50, drop it at 75.”
regards
J
And in the last it is mentioned if the egg din’t break at n the floor we move furthermore n-1 floors
but we will move n+1 only?
Move BY n-1. Not move to n-1.
regards
J