Python 3 (one line) (beats 100%) (24 ms) (With Explanation)
Explanation:\nLet x = number of jumbo burgers and y = number of small burgers. Then we can write the following system of equations: 4x + 2y = T  and  x + y = C.
_Explanation:_\nLet x = number of jumbo burgers and y = number of small burgers. Then we can write the following system of equations: 4x + 2y = T  and  x + y = C. Using substitution, we can solve this linear system to get: x = T/2 - C  and  y = 2C - T/2. Note that although there is *always* a unique solution to this system (since the lines have different slopes), the solutions may not always make sense in the context of this problem. Specifically, x and y must be non-negative whole numbers. This requires three conditions to be met:\n\n1) T must be even (that is: T % 2 == 0)\n2) x = T/2 - C \u2265 0 (that is: T \u2265 2C)\n3) y = 2C - T/2 \u2265 0 (that is: 4C \u2265 T)\n\nThus we return [ ] if any of these conditions fail. Otherwise we return [x,y]. \n```\nclass Solution:\n    def numOfBurgers(self, T: int, C: int) -> List[int]:\n        return [[T//2 - C, 2*C - T//2],[]][T % 2 or T < 2*C or 4*C < T]\n\t\t\n\t\t\n- Junaid Mansuri\n- Chicago, IL
['Python', 'Python3']