Given two integers tomatoSlices and cheeseSlices, representing the count of available tomato slices and cheese slices.
Two types of burgers can be made:
Jumbo Burger: requires
Small Burger: requires
Return a list [total_jumbo, total_small] containing the number of jumbo burgers and small burgers that must be prepared such that every slice of tomato and cheese is used without any leftovers. If it is impossible to utilize all ingredients completely, return an empty list [].
Constraints:
tomatoSlices, cheeseSlices
Given two integers tomatoSlices and cheeseSlices, representing the count of available tomato slices and cheese slices.
Two types of burgers can be made:
Jumbo Burger: requires
Small Burger: requires
Return a list [total_jumbo, total_small] containing the number of jumbo burgers and small burgers that must be prepared such that every slice of tomato and cheese is used without any leftovers. If it is impossible to utilize all ingredients completely, return an empty list [].
Constraints:
tomatoSlices, cheeseSlices