Test prep Flashcards
Rotations on redblack tree left right
Rotations on a red black tree right left
Time complexity best case
Time complexity worst case
Max heap
Min heap
identify the data structure
Colour of root node in a red black tree
What is the extra piece of storage on a red black tree node compared to a binary search tree node?
the node also holds a colour
What it a binary search tree node and a red black tree node made up of ?
What are the 6 rules of a red black tree?
- every node is either red or black
- the root is always black
- new insertions are always red
4.Every path can have 2 consecutive red nodes - Nulls are black nodes
How do you work out the path of a black node
What is a sentinel binary tree
A special Node object used to indicate an absent child or parent node
What is the p in a binary search tree node
How do you work out the height of a binary tree