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

55

u/johnw188 May 08 '15

Yes, but mechanical engineers get questions about analyzing random nonsensical physical situations, much as software engineers get questions about random nonsensical software tasks.

For example, I interviewed with Apple as a meche a few years back. Got asked the following: Take a glass of water and place it on a record player, then start the player spinning. Does the water spill out of the glass before the glass tips over?

2

u/Zodimized May 08 '15

Just how fast is the record spinning?

13

u/johnw188 May 08 '15

Sorry left that part out. It starts from zero rpm and increases until either water spills or the cup tips over.

4

u/n1c0_ds May 08 '15

What about sliding off the record?

→ More replies (1)