LRU Cache | LeetCode 146 | Java | Amazon Interview Question | Double Linked list + HashMap | Stacy

Pubblicato il: 31 ottobre 2020
sul canale di: Stacy
2,163
76

Chinese version is here:    • LRU Cache | LeetCode 146 | 刷题 | Java | Ama...  

The 146 question on LeetCode: https://leetcode.com/problems/lru-cache/

Fast Timeline
00:00 LeetCode 146
00:15 Related Cache Knowledge
02:30 Problem
03:16 Algorithm
07:14 Solution
11:13 Verify Solution on LeetCode
11:53 Review Key points

!NOTE: At 9:29 , when we initialize the connection of dummy head/tail, it should be
head.next = tail
tail.pre = head

There's a typo in the vide saying tail.next = pre


B站:诗萌Stacy https://space.bilibili.com/496114065


In questa pagina del sito puoi guardare il video online LRU Cache | LeetCode 146 | Java | Amazon Interview Question | Double Linked list + HashMap | Stacy della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Stacy 31 ottobre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,163 volte e gli è piaciuto 76 spettatori. Buona visione!