r/programming • u/svpino • 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
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:
Open a file, read its contents and write them to another file.
Create a simple message-logger class/interface/API that outputs an information/warning/error level and a message string to stdout.
Create an application that parses 3 command line arguments and prints them out.
Create a file, create a simple source control repository, change the file, and commit your change into the repository.
Write a simple number guessing game (higher or lower).