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

Show parent comments

17

u/IronAndAero May 08 '15

It specifically says water. Of course, the dimensions of the glass itself, and the level to which it is filled are important. It's a pretty vague question all in all.

2

u/n1c0_ds May 08 '15

I am not a mech e and I don't interview people, but it feels like just answering a variation of that should satisfy a good interviewer.

It would be an excellent question if you use physics on a daily basis, methinks.

3

u/johnw188 May 08 '15

In meche narrowing down assumptions are a huge part of the job. If someone asks you to build a heatsink to make a new macbook not overheat, you're going to need to ask a bunch of questions to narrow down a very vague statement into something that you can act on concretely and mathematically. So the question is really just an exploration of how the candidate communicates to find the information they need to give an informed answer, and then how they use their skills and physical intuition to come to the answer once they've figured out all the parameters.

1

u/[deleted] May 08 '15

The question was deliberately vague to see if you would ask for more information.