Created
March 21, 2023 22:49
-
-
Save myavuzokumus/967d0161fc72cb4f67af880edaec481d to your computer and use it in GitHub Desktop.
Binary-Search-Tree gösterimi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[7, 5, 1, 8, 3, 6, 0, 9, 4, 2] -> Binary-Search-Tree | |
En iyi Big-O değeri için ortanca değer alınmaya çalışılmıştır. | |
Bu sayede en yüksek veya en küçük değeri alarak Big-O değerini n olmasının önüne geçilmiştir. | |
``` | |
7 | |
/ \ | |
5 8 | |
/ \ \ | |
1 6 9 | |
/ \ | |
0 3 | |
/ \ | |
2 4 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment