In this assignment you will simulate traffic flow for a park
In this assignment you will simulate traffic flow for a parking system. Suppose a Parking Garage contains 2 parking lanes, each with a capacity to hold 5 cars at a time. As each car arrives/departs, the values A/G (representing arrival/get out) is entered along. Define L_i to be a lane i where you have two lanes, and C_i to be car j whereC_1; 1
Solution
Space complexity
