mirror of
https://github.com/krahets/hello-algo.git
synced 2025-12-19 07:17:54 +08:00
Add build script for Go and update Go codes.
This commit is contained in:
@@ -17,6 +17,7 @@ type arrayHashMap struct {
|
||||
bucket []*entry
|
||||
}
|
||||
|
||||
/* 初始化哈希表 */
|
||||
func newArrayHashMap() *arrayHashMap {
|
||||
// 初始化一个长度为 100 的桶(数组)
|
||||
bucket := make([]*entry, 100)
|
||||
|
||||
Reference in New Issue
Block a user