✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
For this pseudocode:
function W(root,x) if (root==NULL) Node newNode= new Node(x) root=newNode else if(x > root->data) W(root->left,x) else W(root->right,x) end functionAssume that the tree starts empty. After executing the function W with the following numbers: 9, 18, 6, 3, 7. What is the left child of 6?