Showing 2 questions
Design a data structure that acts as a Least Recently Used (LRU) cache. Implement methods to get and put key-value pairs, evicting the least recently used entry when the cache is full.
#1. LRU Cache
You're given a list of recipes and available ingredients. Determine which recipes can be made using only the given supplies and return them in any order.
#2. Find All Possible Recipes from Given Supplies
Page 1 of 1 · 2 total