Saksham Agrawal's submission of Alternating Tree | CodeChef