Simple Linear Equation Solution
Lets say we take x jumbo and y small burgers so we can say that:\n\n\tx + y = cheese_slices\n\t\n\t4x + y = tomato_slices\n\t\n\n\nOn solving the 2 linear equat
Lets say we take x jumbo and y small burgers so we can say that:\n```\n\tx + y = cheese_slices\n\t\n\t4x + y = tomato_slices\n\t\n```\n\nOn solving the 2 linear equation we only want +ve solutions\n\n```\nclass Solution {\npublic:\n    vector<int> numOfBurgers(int ts, int cs){\n        if(ts%2)\n            return {};\n        if(ts/2 < cs || 2*cs < ts/2)\n            return {};      \n        int jmb = (ts - 2*cs)/2;\n        int sml = (2*cs - ts/2);\n        return {jmb, sml};\n    }\n};\n```\n\t\t\n\t\t
['C', 'C++']