HackerEarth Chandu and Consecutive Letters problem solution - TheCScience