Skip to content

Instantly share code, notes, and snippets.

@lSelectral
Created March 25, 2022 07:55
Show Gist options
  • Save lSelectral/9b104d6f7267076f2a45b3fc4463b79d to your computer and use it in GitHub Desktop.
Save lSelectral/9b104d6f7267076f2a45b3fc4463b79d to your computer and use it in GitHub Desktop.

##Proje 3

[7, 5, 1, 8, 3, 6, 0, 9, 4, 2] dizisinin Binary-Search-Tree aşamalarını yazınız.

Örnek: root x'dir. root'un sağından y bulunur. Solunda z bulunur vb.

Root chosen as 7

      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