Suryaraj Bhaduri's submission of Is it a tree | CodeChef