Sherlock and the Beast submission solutions

Sherlock and the beast hacker rank solutions