Better HN
topnewbestaskshowjobs
Log inSign up

habidasher

1 karma · joined Jul 22, 2012 (14y ago) · 1 submissions

Submissions

comment 14y ago · link · parent

That was my first thought as well. My answer would have been something along the lines of, "Given my domain knowledge of eggs and sidewalks, I can estimate that the egg will survive a fall of at most zero or one stories. Therefore the best algorithm is a linear search starting from the 0th floor."