DFS works
BFS, UCS work