✅EASIEST SOLUTION
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\npublic:\n    bool lemonadeChange(vector<int>& bills) {\n        int five=0,ten=0;\n        for(int i=0;i<bills.size();i++){\n            if(bills[i] ==5) five++;\n           else if(bills[i] ==10){\n                if(five>0){five--;ten++;}\n               else return 0;\n            }\n            else {\n                if(five>0 && ten>0){\n                    five--;ten--;\n                    }\n                   else if(five>=3){five-=3;}\n                   else return 0;\n                }\n            \n        }\n        return 1;    \n    }\n};\nDO UPVOTE\n```
['C++']