C# Solution with dictionary
\n    public class ParkingSystem {\n    Dictionary<int,int> carTypeSpaceLeft = new Dictionary<int,int>();\n\n    public ParkingSystem(int big, int medium, int s
```\n    public class ParkingSystem {\n    Dictionary<int,int> carTypeSpaceLeft = new Dictionary<int,int>();\n\n    public ParkingSystem(int big, int medium, int small) {\n        carTypeSpaceLeft.Add(1, big);\n        carTypeSpaceLeft.Add(2, medium);\n        carTypeSpaceLeft.Add(3, small);\n    }\n    \n    public bool AddCar(int carType) {\n        if(carTypeSpaceLeft[carType] > 0)\n        {\n            carTypeSpaceLeft[carType]--;\n            return true;\n        }\n        return false;\n    }\n}\n ```
['C']