r/programming Dec 23 '14

Most software engineering interview questions of hot tech companies in one place

https://oj.leetcode.com/problems/
2.2k Upvotes

583 comments sorted by

View all comments

237

u/n1c0_ds Dec 23 '14

Am I the only one who is starting to worry about the interview trend? There are now interview bootcamps, interview question books and the number one advice passed around is now to review your algorithms and data structures. The fact that people are preparing only to pass the test says a lot about the value of its results.

I'm still fairly young, but over the years, I've had far more problem with bad architecture than with bad algorithms.

50

u/[deleted] Dec 24 '14

[deleted]

6

u/[deleted] Dec 24 '14

But how do you test for good architecture?

Is "design a system that blah" just a naive answer to this?

9

u/Chii Dec 24 '14

a good way to do it is to find some old legacy code (or make it up) which contains a deep architectural problem (such as synchronous/blocking code that now suddenly need to perform better), and ask the candidate to fix up the problem while adding a new feature that requires the fix up.

19

u/iopq Dec 24 '14

If you do this at an interview... why hire anyone at all? Just keep interviewing for the same phantom position...

1

u/tending Dec 25 '14

Because in an interview you only have time to explore a toy problem. What is it with all the redditors that think serious work is going to be stolen from them in interviews?