Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
For this tree:
What of the following traversal functions visit the nodes in this order?
4, 18, 3, 30, 20, 22, 0
function preRL-order(T) if !ISEMPTY(T) then visit(root(T)) preRL-order(right(T)) preRL-order(left(T)) end function
none of the others
in-order(left(T))
function pre-order(T) if !ISEMPTY(T) then visit(root(T)) pre-order(left(T)) pre-order(right(T)) end function
post-order(right(T))
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!