Greedy on Contiguous Subarrays · 2daysbeforeinterview