An abstract warehouse to store cars and find intervals with max number of cars in warehouse