You're given inputs: a list of recipes, a D list ingredients where ingredients[i] lists everything needed for recipes[i], and a list of supplies you already have. A recipe can require another recipe as an ingredient.
Return all recipes you can make. For example, with recipes = ["bread", "sandwich"], ingredients = [["yeast", "flour"], ["bread", "meat"]], and supplies = ["yeast", "flour", "meat"], you make "bread" first, then use it for "sandwich".
How do you handle recipes that depend on other recipes, especially when the chain is several levels deep?