Skip to content

faithandlogic/trees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

trees

basic tree structures

Current Updates:

GO:

binaryTree.go:
  • simple binary tree in GO
  • Insert() func, inserts a node in appropriate location
  • Randomint() func, return random int
  • Search() func, find a node with given key
  • invert_tree() func, inverts a binary tree
  • print_in_order() func, prints node values in order
  • Is_Tree_Symmetrical() func, checks symmetry of tree
  • Are_Trees_Symmetrical() func, checks if two trees are symmetrical
  • Valid_BST() func, verifies if a tree is a BST

More updates coming soon to this repository:

  • user interface
  • more BT funcs
  • custom data structure packages
  • proper insert function that inserts node at the next empty space
  • doc strings and notes for all funcs

Current Languages Implemented:

  • GO

Please share feedback and make any pull requests or comments on recommendations.

About

Data Structure Series: Binary Trees

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages