Challenge: Make Maximum Donuts

This challenge will test your skills in implementing the map function in JavaScript.

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 70+ hands-on prep courses.