Java faster than 99,75% easy solution with comments
Understandable easy java solution. \n\nclass ParkingSystem {\n    int[] arr;\n\n    public ParkingSystem(int big, int medium, int small) {\n        arr=new int[
Understandable easy java solution. \n```\nclass ParkingSystem {\n    int[] arr;\n\n    public ParkingSystem(int big, int medium, int small) {\n        arr=new int[3];\n\t\tarr[0]=big;\n\t\tarr[1]=medium;\n\t\tarr[2]=small;\n    }\n    \n    public boolean addCar(int carType) {\n        return arr[carType-1]-->0; //checks does the index has free space for carType\n    }\n}\n```
['Array', 'Java']