mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-24 20:16:06 +00:00
build
This commit is contained in:
@@ -1312,7 +1312,7 @@ comments: true
|
||||
|
||||
```kotlin title="hash_map_chaining.kt"
|
||||
/* 链式地址哈希表 */
|
||||
class HashMapChaining() {
|
||||
class HashMapChaining {
|
||||
var size: Int // 键值对数量
|
||||
var capacity: Int // 哈希表容量
|
||||
val loadThres: Double // 触发扩容的负载因子阈值
|
||||
|
||||
Reference in New Issue
Block a user