1753 depth-first search