Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
MisterShawn
on June 27, 2014
|
parent
|
context
|
favorite
| on:
The Worst Programming Interview Question
"The boat holds only you and one other person." That's 1 or 2, not 0 or 1.
gibybo
on June 27, 2014
[–]
The correct solution requires that you get out of the boat and put two cannibals on it. The statement that the boat holds "only you" and one other person very strongly implies that is not allowed.
MisterShawn
on June 27, 2014
|
parent
[–]
Ahh, fair enough. I blame coffee for not working instantly. :-)
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: