C++ | |  95% Faster || Simple But Efficient ||
Do Upvote if u understand\n\n\nvector<int> ans;\n    ParkingSystem(int big, int medium, int small) {\n        ans.push_back(small);\n        ans.push_back(mediu
**Do Upvote if u understand**\n\n```\nvector<int> ans;\n    ParkingSystem(int big, int medium, int small) {\n        ans.push_back(small);\n        ans.push_back(medium);\n        ans.push_back(big);\n    }\n    \n    bool addCar(int c) {\n        if(c==3){\n            if(ans[0]==0)\n                return false;\n            else {\n                ans[0]--;\n                return true;\n            }\n        }\n        else if(c==2){\n            if(ans[1]==0)\n                return false;\n            else {\n                ans[1]--;\n                return true;\n            }\n        }\n        else{\n            if(ans[2]==0)\n                return false;\n            else {\n                ans[2]--;\n                return true;\n            }\n        }\n    }\n```
['C']