simple linear eqn solving ,faster than 100% java
```\nclass Solution {\n    public List numOfBurgers(int vt, int vc) {\n        int x=0,y=0;\n        List al=new ArrayList<>();\n// 4x+2y=vt and x+y=vc =>2x=vt-
```\nclass Solution {\n    public List<Integer> numOfBurgers(int vt, int vc) {\n        int x=0,y=0;\n        List<Integer> al=new ArrayList<>();\n// 4x+2y=vt and x+y=vc =>2x=vt-2*vc=> x=vt-2*vc/2 only if x and y are pos integer its valid\n\n        if(vt>=2*vc&&(vt-2*vc)%2==0){\n           x=(vt-2*vc)/2;\n            y=vc-x; \n            if(y>=0){\n                al.add(x);\n            al.add(y);\n            }\n        }\n        return al;\n        \n    }\n}
[]