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

2

u/prelic May 09 '15 edited May 09 '15

Disregarding the fact that the blog author is kind of a dick for posing these questions in the most arrogant conceivable way, and then getting one wrong, I'm surprised I always see the same type of algorithmic questions. Here is a list of 5 problems I'd to see a potential candidate answer:

  1. Open a file, read its contents and write them to another file.

  2. Create a simple message-logger class/interface/API that outputs an information/warning/error level and a message string to stdout.

  3. Create an application that parses 3 command line arguments and prints them out.

  4. Create a file, create a simple source control repository, change the file, and commit your change into the repository.

  5. Write a simple number guessing game (higher or lower).

→ More replies (2)