Revert "增加深度优先算法"

This reverts commit ea9e8fce88117412ae35a386b1e581c41c9141a0.