feat(go): support basic pkg

This commit is contained in:
reanon
2022-11-25 20:24:51 +08:00
parent daf25d5e64
commit 07a359484b
9 changed files with 359 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// File: list_node_test.go
// Created Time: 2022-11-25
// Author: Reanon (793584285@qq.com)
package pkg
import "testing"
func TestListNode(t *testing.T) {
arr := []int{2, 3, 5, 6, 7}
head := ArrayToLinkedListLinkedList(arr)
PrintLinkedList(head)
node := GetListNode(head, 5)
t.Log("Find node: ", node.Val)
}