forked from doocs/leetcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 398146b
feat: add solutions to lc problem: No.0146 (doocs#3909)
No.0146.LRU Cache1 parent a336f65 commit 398146b
File tree
14 files changed
+925
-610
lines changed- solution
- 0000-0099/0023.Merge k Sorted Lists
- 0100-0199/0146.LRU Cache
- 0600-0699/0649.Dota2 Senate
14 files changed
+925
-610
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
232 | 232 |
| |
233 | 233 |
| |
234 | 234 |
| |
235 | - | ||
236 | - | ||
237 | - | ||
238 | - | ||
239 | - | ||
235 | + | ||
240 | 236 |
| |
241 | 237 |
| |
242 | 238 |
| |
| |||
318 | 314 |
| |
319 | 315 |
| |
320 | 316 |
| |
321 | - | ||
322 | - | ||
323 | - | ||
324 | - | ||
325 | - | ||
317 | + | ||
326 | 318 |
| |
327 | 319 |
| |
328 | 320 |
| |
|
Lines changed: 2 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
233 | 233 |
| |
234 | 234 |
| |
235 | 235 |
| |
236 | - | ||
237 | - | ||
238 | - | ||
239 | - | ||
240 | - | ||
236 | + | ||
241 | 237 |
| |
242 | 238 |
| |
243 | 239 |
| |
| |||
319 | 315 |
| |
320 | 316 |
| |
321 | 317 |
| |
322 | - | ||
323 | - | ||
324 | - | ||
325 | - | ||
326 | - | ||
318 | + | ||
327 | 319 |
| |
328 | 320 |
| |
329 | 321 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | - | ||
15 | - | ||
16 | - | ||
17 | - | ||
18 | - | ||
14 | + | ||
19 | 15 |
| |
20 | 16 |
| |
21 | 17 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | - | ||
16 | - | ||
17 | - | ||
18 | - | ||
19 | - | ||
15 | + | ||
20 | 16 |
| |
21 | 17 |
| |
22 | 18 |
| |
|
0 commit comments