Answers for "number of burgers with no waste of ingredients"

0

number of burgers with no waste of ingredients

Input: tomatoSlices = 16, cheeseSlices = 7
Output: [1,6]
Explantion: To make one jumbo burger and 6 small burgers we need 4*1 + 2*6 = 16 tomato and 1 + 6 = 7 cheese. There will be no remaining ingredients.
Posted by: Guest on November-11-2020

Code answers related to "number of burgers with no waste of ingredients"

Browse Popular Code Answers by Language