simple and easy Python solution 😍❤️‍🔥
\n# if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n\n###### Let\'s Connect on LinkedIn: www.linkedin.com/in/shishirrsiam\n###### Let\'s Connect on Facebook
\n# if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n\n###### Let\'s Connect on LinkedIn: www.linkedin.com/in/shishirrsiam\n###### Let\'s Connect on Facebook: www.fb.com/shishirrsiam\n\n\n# Complexity\n- Time complexity: O(n)\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity: O(1), Constant\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution(object):\n    def lemonadeChange(self, bills):\n        count = {5: 0, 10: 0}\n        for bill in bills:\n            if bill == 5:\n                count[5] += 1\n            elif bill == 10:\n                if count[5]:\n                    count[5] -= 1\n                    count[10] += 1\n                else: return False\n            else:\n                if count[5] and count[10]:\n                    count[5] -= 1\n                    count[10] -= 1\n                elif count[5] >= 3:\n                    count[5] -= 3\n                else: return False\n        return True\n```
['Array', 'Greedy', 'Counting', 'Python', 'Python3']