News for hackers. Stuff that matters.
Re:The Worst Programming Interview Question by MisterShawn on Friday June 27, 2014 @11:47AM (#7954515)
"The boat holds only you and one other person." That's 1 or 2, not 0 or 1.
Re:The Worst Programming Interview Question by gibybo on Friday June 27, 2014 @11:50AM (#7954542)
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.
Re:The Worst Programming Interview Question by MisterShawn on Friday June 27, 2014 @11:54AM (#7954574)
Ahh, fair enough. I blame coffee for not working instantly. :-)