r/programming • • May 08 '15

Five programming problems every Software Engineer should be able to solve in less than 1 hour

https://blog.svpino.com/2015/05/07/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour
2.5k Upvotes

2.1k comments sorted by

View all comments

2

u/keyslemur May 09 '15

Funny that you say at the end:

The people that think are above all these "nonsense" are usually the ones that can't code crap.

Even if you use the word usually, that's still extremely pretentious. Tell me with a straight face when you'd use any of these in an actual job (except for sum) and I'll take it back.

You want to know why tech interviews are so annoying, it's because people are so stuck up on asking trick questions and difficult problems that are absolutely pointless. If this was the interview set I got, I would likely walk out of the interview.

Can I solve them? Yes, but that's not the point. The type of mentality required to justify asking such questions is to me very annoying to work with.

Number 4 itself is the hardest problem by far on that list when actually looking into performance. I would be surprised if a standard Junior to Midlevel could solve that in under 30 minutes without permutations.

0

u/[deleted] May 09 '15

[deleted]

2

u/hackerfoo May 09 '15

Besides that, I think nobody ever uses Fibonacci sequences at work, but that's not the point.

The Fibonacci sequence is used in a network backoff algorithm.

0

u/imgonnabethebest May 09 '15

why did u post a wrong solution LOL i thought u were a god programmer