Yash Kulkarni's submission of Just a Graph | CodeChef