Easy logical 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```\n/**\n * @param {number[]} bills\n * @return {boolean}\n */\nvar lemonadeChange = function(bills) {\n    let five = 0\n    let ten = 0\n    let twenty = 0\n    for(let i=0 ; i<bills.length ; i++){\n        if(bills[i] === 5){\n            five++\n        }else if(bills[i] === 10){\n            if(five >0){\n                five--\n                ten++\n            }else{\n                return false\n            }\n        }else if(bills[i] === 20){\n            if(five > 0 && ten > 0){\n                five--\n                ten--\n            }else if(five > 2){\n                five -= 3\n            }else{\n                return false\n            }\n        }\n    }\n    return true\n};\n```
['JavaScript']