Very Easy Solution Sove And Understand in 2 mins  beats 99% in T.C.
\n# Code\n\nclass Solution {\n    public boolean lemonadeChange(int[] bills) {\n        int five=0,ten=0;\n        for(int i:bills)\n        {\n            if(i
\n# Code\n```\nclass Solution {\n    public boolean lemonadeChange(int[] bills) {\n        int five=0,ten=0;\n        for(int i:bills)\n        {\n            if(i==5)\n            five++;\n            else if(i==10)\n            {\n               if(five > 0)\n            {\n                ten++;\n                five--;\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>2)\n                {\n                    five-=3;\n\n                }\n                else \n                return false;\n\n            }\n        }\n        return true;\n        \n    }\n}\n```
['Java']