if right[x] != NIL
then return TREE-MINIMUM(right[x])
y<-p[x]
while y!= NIL and x = right[y]
do x<-y
y<-p[y]
return y
Wiem co „jeśli prawo [x] = NIL następnie powrócić drzewo-min” środki i mam przetłumaczone go do:
if(p->RChild) return fMinValue(p->RChild);//returns the min value of the sub-tree starting at the right child node of p
Resztę mam problemy ze zrozumieniem.













