Question d’entretien chez TikTok

greedy+binary search, mid question, and an array hard question