LinkedIn Interview Question

Sliding window question and then a recursive backtracking question.