Depth-first search uploaded