issues
search
Alice52
/
algorithms
This repository is for learning Algorithms.
https://programmercarl.com/
0
stars
0
forks
source link
[daily] 2021-09-04
#167
Closed
Alice52
closed
3 years ago
Alice52
commented
3 years ago
[x] issue 1
reference
discription
打开转盘锁
core
BFS{enum}: visited + queue + step
[x] issue 2
reference
discription
单词接龙
core
BFS + 判断两个单词是否能改动一个字母得到
[x] issue 3
reference
discription
等式方程的可满足性
core
UF +
==
union +
!=
not unoin
[x] issue 4
reference
discription
LRU
core
DLINKED + Node + HashMap
LinkedHashMap
[x] issue 5
reference
discription
LFU
core
key2ValMap
key2FreqMap
freq2KeysSetMap: Map<Integer, Set
>:
.iterator.next() 可以获取第一个元素
cap
minFreq
removeLeastFreq()
increaseFreq(int key)
reference
discription
core
BFS{enum}: visited + queue + step
reference
discription
core
core
==
union +!=
not unoincore
core
.iterator.next() 可以获取第一个元素