Skip to content

reverse binary tree (recursion, no recursion version)

License

Notifications You must be signed in to change notification settings

t4ke0/reverse_binary_tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reverse_binary_tree

Quick Start

$ go build .
$ ./reverse_binary_tree

output example

                                201
                132
                                204
        72
                                171
                135
                                174
    4
                                126
                89
                                129
        75
                                144
                92
                                147

------------------------------

                                147
                92
                                144
        75
                                129
                89
                                126
    4
                                174
                135
                                171
        72
                                204
                132
                                201

TODO

  • after the implementation use generics (go 1.18).
  • reverse the binary tree without recursion.
  • dump the tree as a graphviz graph.

About

reverse binary tree (recursion, no recursion version)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages