This algorithm _______.
Given below is an algorithm:
if(right[x] != null)
{
x = right[x];
Treemin(x);
}
else
{
y = parent[x];
while(y !=null && x = right[y])
{
x=y; y=parent[y];
}
return y;
}
Reveal answer
Fill a bubble to check yourself