LRU Cache - Python3 Walkthrough & Solution
Let's talk about the nuances of relying on Python's ease of use in a coding interview. Today, we're looking at the LRU Cache Problem solved by the built-in Python dictionary, which is now ordered! After talking about if using a built in-dictionary that IS ordered is valid or not, let's solve it together so you know how to tackle it in a live technical interview with an INTUITIVE, concept-based answer. Not straight math thrown at your face. WANT TO SEE A PROBLEM EXPLAINED? DROP A COMMENT BELOW! MERCH: https://store.streamelements.com/itsbaober Support the channel: https://www.youtube.com/channel/UC5akxkiQHpxCzPZWskdBbQQ/join 00:00 - 01:31 Introduction 1:31 - 3:51 Should you rely on built-ins? 3:51 - 10:04 Solving the LRU Cache 10:04 - 14:34 Neat Iterable Trick
Let's talk about the nuances of relying on Python's ease of use in a coding interview. Today, we're looking at the LRU Cache Problem solved by the built-in Python dictionary, which is now ordered! After talking about if using a built in-dictionary that IS ordered is valid or not, let's solve it together so you know how to tackle it in a live technical interview with an INTUITIVE, concept-based answer. Not straight math thrown at your face. WANT TO SEE A PROBLEM EXPLAINED? DROP A COMMENT BELOW! MERCH: https://store.streamelements.com/itsbaober Support the channel: https://www.youtube.com/channel/UC5akxkiQHpxCzPZWskdBbQQ/join 00:00 - 01:31 Introduction 1:31 - 3:51 Should you rely on built-ins? 3:51 - 10:04 Solving the LRU Cache 10:04 - 14:34 Neat Iterable Trick