Skip to content

This is a C project in which the user enters a word and with the help of a binary search tree the program finds and shows the level of each letter, the minimum letter and the maximum letter.

License

Notifications You must be signed in to change notification settings

K-Konstantinidis/Visual-Representation-Of-BST-Levels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Visual-Representation-Of-Binary_Search_Tree-Levels

This is a C project in which the user enters a word and with the help of a binary search tree the program finds and shows the level of each letter, the minimum letter and the maximum letter.

First of all, the user inserts a word. Then a binary search tree (BST) will be created and after that each of the letters of the word will get inserted in the tree. If a letter is already in the tree, then a message saying that the letter is already in the BST will be shown.

Then there will be a series of messages showing the level of each letter.

After all these messages, the user will see 2 more messages.

One of them will show which letter is the minimum and the other one will show which letter is the maximum (Alphbetical order not minimum/maximum level of the letter in the tree).

E.g. If the word is wikipedia:

Code image

About

This is a C project in which the user enters a word and with the help of a binary search tree the program finds and shows the level of each letter, the minimum letter and the maximum letter.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages