C++ Data Structures with Templates: from first principles in C by Michael Griffiths

C++ Data Structures with Templates: from first principles in C by Michael Griffiths

Author:Michael Griffiths [Griffiths, Michael]
Language: eng
Format: mobi
Published: 2018-06-18T16:00:00+00:00


grandMa = node->parent->parent;

if (node->parent == grandMa->left) {

aunty = grandMa->right;

if (aunty && aunty->colour == RED) {

node->parent->colour = BLACK;

aunty->colour = BLACK;

grandMa->colour = RED;

node = grandMa;

} else {

if (node == node->parent->right) {

node = node->parent;

rbRotateLeft(node, root);

}

node->parent->colour = BLACK;

grandMa->colour = RED;

rbRotateRight(grandMa, root);

}

} else {

aunty = grandMa->left;

if (aunty && aunty->colour == RED) {



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.