Saksham Garg 's submission of D-Dimensional MST | CodeChef