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:
Amazon
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late February, 2026
Amazon
Mid-level
Late December, 2024
Mid-level
Find All Possible Recipes from Given Supplies
Late July, 2024
Junior
Hello Interview Premium
Your account is free and you can post anonymously if you choose.