Ask HN: What are interviewers looking for when they give you puzzles?

https://news.ycombinator.com/item?id=9480866
by cmorgan8506 • 11 years ago
13 21 11 years ago

I've been doing some programming interviews lately, and they've all included "typical" programming challenges. A lot of them can be done through brute force, but it's evident they are looking for the optimal solution ie. O(n).

I'm curious, do these companies want to see if you've already done a similar questions and are able to re-apply the solution? Or are they looking for you to produce a novel approach to the problem? If the latter, is it a typical expectation for a Software Engineer to be able to produce optimal solutions in short periods of time like that?

I've been spending a lot of time studying these types of interview questions, but I continue to run into puzzles I've never seen. I'm concerned that they are looking for a degree of problem solving skills that I might not have.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com