Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update hash_map_chaining.kt
  • Loading branch information
curtishd authored Mar 4, 2024
commit 42461b1f603c950c9ae369eabe22d11ecfc5b5bc
2 changes: 1 addition & 1 deletion codes/kotlin/chapter_hashing/hash_map_chaining.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class HashMapChaining() {
val extendRatio: Int // 扩容倍数
var buckets: MutableList<MutableList<Pair>> // 桶数组

/* 构造函数 */
/* 构造方法 */
init {
size = 0
capacity = 4
Expand Down