Lenovo interview question

Backtracking and Greedy algorithm leetcode question.