zscoder's submission of Tree Balancing | CodeChef