Search
⌘K
Leetcode 2115. Find All Possible Recipes from Given Supplies
Given recipes whose ingredients may include other recipes and an initial set of supplies, determine which recipes can be produced; the core challenge is dependency resolution on a directed graph (topological ordering or DFS) while handling cycles and using supplies as base nodes.
Asked at:
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late December, 2024
Mid-level
Find All Possible Recipes from Given Supplies
Late July, 2024
Junior
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.