Kunato Interview Question

Backtracking question Dynamic programming question