Introductiton To Data Structures
Introductiton To Data Structures
4 Trees 11
4.1 Introduction, Tree Terminologies, Binary Tree, Binary Tree Representation, Types
of Binary Tree, Binary Tree Traversals, Binary Search Tree, Operations on Binary
Search Tree, Applications of Binary Tree-Expression Tree, Huffman Encoding,
Search Trees-AVL, rotations in AVL Tree, operations on AVL Tree,
Introduction of B Tree, B+ Tree.
5 Graphs 4
6 Searching Techniques 4
6.1 Linear Search, Binary Search, Hashing-Concept, Hash Functions, Collision resolution
Techniques
Data
The quantities, characters, or symbols on which operations are performed on a
computer are Data.
------------------------------------------------------------------------------------------
--
To provide an appropriate way to structure the data, we learn DATA
STRUCTURES.
------------------------------------------------------------------------------------------
--
DATA TYPES
● Defines a certain domain of values.
● Defines the operations allowed on those values.
------------------------------------------------------------------------------------------
--
Data Structures
● A data structure is a systematic way to structure/store and organizes data so that it
can be used efficiently.
● Used to implement an ADT.
● ADT tells us what is to be done and DS tells us how to do it.
2. Static (Array)
Has a fixed memory size and the memory is allocated during compilation.
v/s
Dynamic (Linked List)
Does not have a fixed size and the memory can be allocated during runtime.
------------------------------------------------------------------------------------------
--
3. Inserting: It is used to add new data items to the given list of data items.
5. Sorting: Data items can be arranged in some order like ascending order
or descending order depending on the type of application.
------------------------------------------------------------------------------------------
--
Big O Notation
We use Big O notation to determine the performance of the algorithm.