✅Very Easy single loop Code✅. Check it out🫡.
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        {\n            if(bills[i]==5)\n            five++;\n            else if(bills[i]==10)\n            {\n                if(five>0)\n                {\n                    five--;\n                    ten++;\n                }\n                else\n                return false;\n            }\n            else\n            {\n                if(five>0 && ten>0)\n                {\n                    five--;\n                    ten--;\n                }\n                else if(five>=3)\n                {\n                    five=five-3;\n                }\n                else\n                return false;\n            }\n        }\n        return true;\n        \n    }\n};\n```
['Array', 'Greedy', 'C++']