✅Java EASY solution ||🚀 fast 100% ||🔥Best Practise
class ParkingSystem {\n\n        int small;\n        int medium;\n        int big;\n\n        public ParkingSystem(int big, int medium, int small) {\n          
class ParkingSystem {\n\n        int small;\n        int medium;\n        int big;\n\n        public ParkingSystem(int big, int medium, int small) {\n            this.small = small;\n            this.medium = medium;\n            this.big = big;\n        }\n\n        public boolean addCar(int carType) {\n            if(carType==3){\n                small--;\n                return small>=0;\n            }\n            else if(carType==2){\n                medium--;\n                return medium>=0;\n            }\n            else{\n                big--;\n                return big>=0;\n            }\n        }\n}
['Java']