Yash Chandnani's submission of Directing Edges | CodeChef