Miguel Miní's submission of Trees and Degrees | CodeChef