Update avl_tree

pull/315/head
Yudong Jin 2 years ago
parent 70dead5cd0
commit b39b84acba

@ -9,7 +9,7 @@ using NUnit.Framework;
namespace hello_algo.chapter_tree
{
// Tree class
/* AVL 树 */
class AVLTree
{
public TreeNode? root; // 根节点

@ -6,7 +6,7 @@ package chapter_tree
import . "github.com/krahets/hello-algo/pkg"
/* AVL Tree*/
/* AVL */
type avlTree struct {
// 根节点
root *TreeNode

@ -8,7 +8,7 @@ package chapter_tree;
import include.*;
// Tree class
/* AVL 树 */
class AVLTree {
TreeNode root; // 根节点

@ -6,7 +6,7 @@
import utils
// Tree class
/* AVL */
class AVLTree {
fileprivate var root: TreeNode? //

@ -5,7 +5,7 @@
const std = @import("std");
const inc = @import("include");
//
// AVL
pub fn AVLTree(comptime T: type) type {
return struct {
const Self = @This();

Loading…
Cancel
Save