dfs
dp
grid
