Largest substring with same Characters - GeeksforGeeks