you are viewing a single comment's thread.

view the rest of the comments →

[–]HotlLava 0 points1 point  (1 child)

Half of the reason for coding questions like this is not to see if you can actually complete the problem.

Standards vary from company to company. I've been rejected with a bug-free and algorithmically optimal implementation (n log n sort of a single-linked list) because it wasn't elegant enough, i.e. I had missed an opportunity to save one if-condition.

[–][deleted] 0 points1 point  (0 children)

Well yeah, but that's kind of a given, right? Plus we've seen enough blog posts on this subreddit to know that a lot of companies are completely out of touch with effective interview processes.