News for hackers. Stuff that matters.
Re:Poll: Is the leetcode grind necessary to land a high payi... by hiq on Thursday January 27, 2022 @02:27PM (#30105027)
One common question of this type (I've had it, and heard a few others as well) is: implement a function returning the factorial of its input (so n!). Basically FizzBuzz.

I recently got that question after a homework with about 200 lines of python written. If I had failed at this question, the company would have concluded that I had somebody else do the homework for me, so I understood where they came from with this.

There are no comments on this comment yet.