Go 算法简易模板(输入输出) fmt, bufio,
https://www.acwing.com/blog/content/37869/
for 循环
nums = [4]int{1,2,3,4}
for index, item := range nums {
fmt.Print(item)
}
//等价于
for i := 0; i < len(nums); i++ {
}
ref: https://www.runoob.com/go/go-map.html
扔进哈希表:
hashmap
map1 := make(map[int]int, 4)
// map_variable := make(map[KeyType]ValueType, initialCapacity)
Go 算法简易模板(输入输出)
https://www.acwing.com/blog/content/37869/
Go-context 处理上下文
数组,slice切片,map哈希表
教程:
https://gobyexample.com/
https://draveness.me
http://books.studygolang.com/gopl-zh/
https://www.topgoer.com/
https://www.w3cschool.cn/go/
https://tour.go-zh.org/welcome/2
https://github.com/coderit666/GoGuide