Utkarsh Gupta's submission of K-Tuple Tree | CodeChef