The Number of the Smallest Unoccupied Chair | Leetcode 1942