LRU Cache - Leetcode 146 - JavaScript | Two Ways To Implementation LRU Cache In JS

preview_player
Показать описание
In this video, we are going to solve the LRU cache problem on leetcode in JavaScript

Timestamps:
00:00 Read the problem
01:16 Drawing Explanation - 1st Approach
10:56 Coding Explanation - 1st Approach
16:03 Drawing Explanation - 2nd Approach
27:07 Coding Explanation - 2nd Approach

Рекомендации по теме
Комментарии
Автор

Amazing video with In-depth explanation. Thanks bro.

jnsudhir
Автор

Liked the drawing explanation - it's better to visualize stuff. Just wanted to check in real time interview

- Which approach is preferable and optimized?
- If we go with DLL approach, do we need to create DLL from scratch like you do or can we ask the interviewer to get it copied from somewhere? (Asking this, since it's not a question to create DLL)

Thanks in advance!

Kashsha
join shbcf.ru