This is a simple Go program that checks if a given tree is complete or not. A tree is complete if all levels are completely filled except possibly the last level and the last level has all keys as left as possible.
-
Updated
Dec 24, 2022 - Go
This is a simple Go program that checks if a given tree is complete or not. A tree is complete if all levels are completely filled except possibly the last level and the last level has all keys as left as possible.
Data Structures Basic Programs
This is a Go program for creating a complete tree using linked list. You can easily insert nodes to the tree and print it. This library provide two inserting functions. One of them is for inserting nodes to the tree by filling the tree from left to right in per row. and the next one is to insert to left side of the tree.
Add a description, image, and links to the complete-tree topic page so that developers can more easily learn about it.
To associate your repository with the complete-tree topic, visit your repo's landing page and select "manage topics."