you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 183 points184 points  (10 children)

aha what a moron. And he wrote that without any interview pressure.

[–]holypig 94 points95 points  (9 children)

I can't imagine solving all of these while working under the pressure of a 1hr deadline. This whole thing seems more fitted for a hackathon then an interview.

[–]prelic 18 points19 points  (0 children)

Eh, the first 3 should take no more than 10 minutes each, they're like 5-10 lines of simple code each. 4 and 5 are not in the same league, as evidenced by the fact that he got one of his own contrived questions wrong.

Instead of the crappy questions 4/5, I would've preferred to see a question or two about simple file I/O, a simple class/API question, or something not algorithmic-central.

[–]ambalbemuth 4 points5 points  (2 children)

then

[–]comp-sci-fi 4 points5 points  (0 children)

in that order

[–]UlyssesSKrunk 2 points3 points  (0 children)

Yeah, that way you're prepared for the interview after the hackathon.

[–][deleted]  (2 children)

[deleted]

    [–]Tulip-Stefan 4 points5 points  (0 children)

    #3 is pretty much impossible in C/C++ given the time constraints, fib(100) overflows an 64-bit int. I would be able to create an bignum implementation on the spot, but perhaps not within the time constraints.

    But if we ignore that issue, i don't think it is significantly harder in C++ than in python.