mirror of
https://github.com/krahets/hello-algo.git
synced 2025-12-19 07:17:54 +08:00
Format C, C++, C#, Go, Java, Python, Rust code.
This commit is contained in:
@@ -20,7 +20,7 @@ class HashMapChaining {
|
||||
HashMapChaining() : size(0), capacity(4), loadThres(2.0 / 3), extendRatio(2) {
|
||||
buckets.resize(capacity);
|
||||
}
|
||||
|
||||
|
||||
/* 析构方法 */
|
||||
~HashMapChaining() {
|
||||
for (auto &bucket : buckets) {
|
||||
|
||||
Reference in New Issue
Block a user