Easy C++ beats 62.41%
Explanation : Finding number of 5s and 10s( during noting 10s eleminates 5s if possible if not return false) and 20s ( while noting 20s checking posiible change
**Explanation :** Finding number of 5s and 10s( during noting 10s eleminates 5s if possible if not return false) and 20s ( while noting 20s checking posiible change available if not return false).\n\n```class Solution {\npublic:\n    bool lemonadeChange(vector<int>& v) {\n        int f=0,t=0;\n        for(int i : v){\n            if(i==5)\n                f++;\n            else if(i==10){\n                t++;\n                if(f>0)\n                    f--;\n                else\n                    return false;\n            }\n            else{\n                if(f && t){\n                    f--;\n                    t--;\n                }\n                else if(f>=3)\n                    f -=3;\n                else\n                    return false;\n            }\n        }\n        return true;\n    }\n};\n```
[]