Yash Chandnani's submission of Max-digit Tree | CodeChef