HACKERRANK - The Love-Letter Mystery

https://www.hackerrank.com/challenges/the-love-letter-mystery