Parth Mittal's submission of Magical Strings | CodeChef