1. Add C++ codes for the chapter of
computational complexity, sorting, searching. 2. Corrected some mistakes. 3. Update README.
This commit is contained in:
		| @@ -5,8 +5,9 @@ | ||||
| package chapter_tree | ||||
|  | ||||
| import ( | ||||
| 	. "github.com/krahets/hello-algo/pkg" | ||||
| 	"testing" | ||||
|  | ||||
| 	. "github.com/krahets/hello-algo/pkg" | ||||
| ) | ||||
|  | ||||
| func TestLevelOrder(t *testing.T) { | ||||
| @@ -18,5 +19,5 @@ func TestLevelOrder(t *testing.T) { | ||||
|  | ||||
| 	// 层序遍历 | ||||
| 	nums := levelOrder(root) | ||||
| 	t.Log("层序遍历的结点打印序列 = ", nums) | ||||
| 	t.Log("层序遍历的结点打印序列 =", nums) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user