Loading page…
Four classic interview problems on counting readings, picking non-neighbours, splitting a query and listing subsets. The lecture shows how to decide between a table and backtracking, how to say the state in words, and the edges that fail: every other door, the base case and the answer cell.
Welcome to the Core 150 gap set on dynamic programming and backtracking.