What can most dynamic programming problems be expressed as? — Finding the shortest path in a DAG. Formulating it this way ensures you can solve it in linear or linearithmic time.
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