Witam ,
Poczytałam trochę o tym kodzie co ostatnio pytam , ale ciagle mam problem ze zrozumieniem tych linijek
if ((x->left) && (x->right))
{
z = (rand() % 2) ? remove(pred(x)) : remove(succesor(x));
z->left = x->left; if (z->left) z->left->p = z;
z->right = x->right; if (z->right) z->right->p = z;
count++;
}
Czy ktoś mi może pomóc.