r/programming • • May 09 '15

"Real programmers can do these problems easily"; author posts invalid solution to #4

https://blog.svpino.com/2015/05/08/solution-to-problem-4
3.1k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

7

u/more_oil May 09 '15

It's all in how the question is framed. "Do this in one hour or you aren't a real programmer" is bad, "I'm interested in seeing your thought process and approach to problem solving" is good.

1

u/Restil May 09 '15

It shows you have experience. If you've been programming for a while, you've likely encountered similar situations before and have already solved it once before, so hopefully you're able to draw on that experience to be able to quickly adapt your historical recollection and devise and produce a solution to the current problem in a reasonable amount of time. The point is, if you've never before worked with permutations, recursion, or various types of lists, and more importantly you don't have sufficient knowledge about when NOT to use those concepts (recursion for producing fibonacci numbers is BAD), then this is certainly useful information for the interviewer.