DFS may cause stack overflow
change dfs to bfs
test case #2 is WA
solve 2364_Lucky_Dip
A-star is slower than dijkstra...
Merge branch 'feature-2364'