3 ms·
OK I missed that - that does make it harder indeed. Also I must admit I used to enjoy such tasks more in former years, now it seems more like a needless chore.
by kkjjkgjjgg 5y ago
OK I missed that - that does make it harder indeed.
Also I must admit I used to enjoy such tasks more in former years, now it seems more like a needless chore. On the other hand, somehow I feel compelled to solve games like "Human Resource Machine" or "Infinifactory", which can be equally tedious.
I'll try to solve that leetcode task.
- wan23 5y agoFor more points, try solving it in 25 minutes without running the code (i.e. as if it were on a whiteboard), and produce an answer that you're confident doesn't have any major errors, and be able to explain why it's logarithmic time. When you're done with all that, then run it and see if it passes. If not, you fail!
- kkjjkgjjgg 5y agoDemanding code that runs is silly, I agree. I think it can be valid to see how people cope. I was once asked to produce the proof of the theorem of Pythagoras, which I hadn't thought about for many years. I failed to do it in the interview situation and later did it at home. However, I enjoyed the interview and I was also offered the job.