Skip to content

puneeth8994/binary-tree-go-impl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Go Tree

Binary Tree Implementation of Golang

Getting Started

The code contains a set of functions that will help you work with binary trees. See the implementation of the code below.

	t := &TreeNode{val: 8}

	t.Insert(1)
	t.Insert(2)
	t.Insert(3)
	t.Insert(4)
	t.Insert(5)
	t.Insert(6)
	t.Insert(7)

	t.Find(11)

	t.Delete(5)
	t.Delete(7)

	t.PrintInorder()

Authors

About

Data Structures in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages