摘要: VisualVM: Plugins Centers 阅读全文
posted @ 2022-05-23 20:49 ascertain 阅读(41) 评论(0) 推荐(0)
摘要: package main import ( "fmt" ) type node struct { id int name string next *node // Node会造成循环引用 } type SingleLinkedList struct { head *node // head!=nil 阅读全文
posted @ 2022-05-23 20:22 ascertain 阅读(41) 评论(0) 推荐(0)
摘要: package main import ( "fmt" ) type Node struct { row int col int val int } func main() { var vail [7][9]int vail[2][8] = 5 vail[5][3] = 6 for _, row : 阅读全文
posted @ 2022-05-23 16:03 ascertain 阅读(25) 评论(0) 推荐(0)
摘要: package main import ( "errors" "fmt" "os" ) type Queue struct { size int array []int head int tail int } func (queue *Queue) Push(v int) error { if qu 阅读全文
posted @ 2022-05-23 15:10 ascertain 阅读(34) 评论(0) 推荐(0)