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
  1. reference

  2. discription

    • 打开转盘锁
  3. core

    • BFS{enum}: visited + queue + step

  1. reference

  2. discription

    • 单词接龙
  3. core

    • BFS + 判断两个单词是否能改动一个字母得到

  1. reference
  2. discription
    • 等式方程的可满足性
  3. core

    • UF + == union + != not unoin

  1. reference
  2. discription
    • LRU
  3. core

    • DLINKED + Node + HashMap
    • LinkedHashMap

  1. reference
  2. discription
    • LFU
  3. core

    • key2ValMap
    • key2FreqMap
    • freq2KeysSetMap: Map<Integer, Set>: .iterator.next() 可以获取第一个元素
    • cap
    • minFreq
    • removeLeastFreq()
    • increaseFreq(int key)