Categories
interview

K Empty Slots – Java

Time O(nlogn)
Space O(n)