IBM interview question

3 Coding questions one was from dynamic programming, backtracking.