Apple interview question

OA - Greedy, Sorting and Set Theory.