NeetCode #599LC-2115MediumGraphs
← Back to All Problems

#599 · #2115 · Find All Possible Recipes from Given Supplies(从给定原材料中找到所有可以做出的菜)

📌 Problem Statement & Constraints

You are given recipes, ingredients (parallel arrays) and supplies (initially available items). A recipe can be made when all its ingredients are available; a made recipe becomes an available ingredient. Return all recipes that can be made, in any order. Constraints: 1 <= recipes.length <= 100, 1 <= ingredients[i].length <= 100.
🔒

Sign In to Unlock Full Solutions for All 973 Problems

Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!