Target interview question

Mediam level coding questions from array and backtracking