LeetCode

K Empty Slots

Click here for an explanation.