Challenge: Make Maximum Donuts
This challenge will test your skills in implementing the map function in JavaScript.
We'll cover the following
Problem statement #
Create a function maxDonuts
that returns the maximum number of whole donuts that can be cooked from a recipe.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.