What could you use in DFS to turn a recursive algorithm into an interative one? — A stack.
G
1.2K
Google Interview
This flashcard deck made by jwasham contains knowledge about google interview. For more details, please follow https://github.com/jwasham/google-interview-university