Kevin Sun's submission of D-Dimensional MST | CodeChef