interleaving string DFS