Please enable JavaScript.
Coggle requires JavaScript to display documents.
Abstract Data Types - Coggle Diagram
Abstract Data Types
Map
On ADT level map just a collection of key,value pairs where keys have to be comparable
Operations Insert ,Delete, Find
Implement MAP
-
Ordered :
-
-
Data Structure
-
Binary Search Tree
-
INVARIANT
For every node we have the value/data is more than or equal to(related or comparator ) the data in all the nodes of its left subtree and less than the data all the nodes of the right subtree
Slight difference in the defination of an find operation where if No then we also return the immediate predecessor and successor
-