mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 04:31:55 +08:00
1.Please remove all the unused libs for every files
2.add a file header for all the files
This commit is contained in:
@ -1,7 +1,11 @@
|
||||
using hello_algo.include;
|
||||
using NUnit.Framework;
|
||||
using System.Collections.Generic;
|
||||
/**
|
||||
* File: binary_search_tree.cs
|
||||
* Created Time: 2022-12-23
|
||||
* Author: haptear (haptear@hotmail.com)
|
||||
*/
|
||||
|
||||
using hello_algo.include;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace hello_algo.chapter_tree
|
||||
{
|
||||
@ -31,11 +35,7 @@ namespace hello_algo.chapter_tree
|
||||
return cur;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 插入结点
|
||||
/// </summary>
|
||||
/// <param name="num"></param>
|
||||
/// <returns></returns>
|
||||
/* 插入结点 */
|
||||
TreeNode? insert(int num)
|
||||
{
|
||||
// 若树为空,直接提前返回
|
||||
|
||||
Reference in New Issue
Block a user