(The inspiration for this post came from here: https://medium.freecodecamp.com/welcome-to-the-software-interview-ee673bc5ef6)