A problem I had to solve to apply to an internship, sadly I did not get the job but this problem was a cool experience.