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