beats 100% users..........
Intuition\nwe need to count the five ten for giving change no need of 20 then if count of the change decrease by less than zero return false else true\n\n# Code
# Intuition\nwe need to count the five ten for giving change no need of 20 then if count of the change decrease by less than zero return false else true\n\n# Code\n```\nclass Solution {\n    public boolean lemonadeChange(int[] bills) {\n        int five = 0, ten = 0;\n        \n        for (int bill:bills) {\n            if (bill == 5) {\n                five++;\n            } else if (bill == 10) {\n                ten++;\n                five--;\n            } else {\n                if (ten > 0) {\n                    ten--; \n                } else {\n                    five -= 2;\n                }\n\n                five--;\n            }\n\n            if (five < 0) return false;\n        }\n        return true;\n    }\n}\n```
['Java']