HashedIn by Deloitte interview question

Dynamic Programming and Backtracking questions