know the difference between Linear and Non-Linear Data Structure in C.
Previous - Pointer and Structure in C
1. Introduction to Data Structures
2. Pointer in C
3. Pointer and Structure in C
4. Linear and Non-Linear Data Structure in C
5. Array Implementation in C
6. Sum of array element in C
7. Addition of two arrays element in C
8. Inverse of an array in C
9. Merge of two arrays in C
10.Overview of Linked List
11.Singly Linked List
12.Doubly Linked List
13.Circular Linked List
14.Count number of nodes
15.Split a list into two equal size list
16.Merge two list into a single list
17.Stack
18.Push and Pop operation of stack.
19.Push and Pop operation of stack using linked list.
20.Queue implementation using array.
21.Queue implementation using linked list.
22.Circular queue implementation using array.
23.Tree data structure
24.Representing Graph using adjacency list & perform DFS & BFS
Linear Data Structure:
Linear data structure is linear if element is adjacent to each other. It has exactly two
neighbors elements to which it is connected as its previous and next member.
neighbors elements to which it is connected as its previous and next member.
Example of Linear Data Structure
Array
Linked List
Stack
Queue
Linked List
Stack
Queue
Non- Linear Data Structure
Non-Linear data structure is that if one element can be connected to more than two
adjacent element then it is known as non-linear data structure.
adjacent element then it is known as non-linear data structure.
Example of Linear Data Structure:
Tree
Graph
Graph
Previous - Pointer and Structure in C
Next - Array Implementation in C
Data Structure Tutorial
1. Introduction to Data Structures
2. Pointer in C
3. Pointer and Structure in C
4. Linear and Non-Linear Data Structure in C
5. Array Implementation in C
6. Sum of array element in C
7. Addition of two arrays element in C
8. Inverse of an array in C
9. Merge of two arrays in C
10.Overview of Linked List
11.Singly Linked List
12.Doubly Linked List
13.Circular Linked List
14.Count number of nodes
15.Split a list into two equal size list
16.Merge two list into a single list
17.Stack
18.Push and Pop operation of stack.
19.Push and Pop operation of stack using linked list.
20.Queue implementation using array.
21.Queue implementation using linked list.
22.Circular queue implementation using array.
23.Tree data structure
24.Representing Graph using adjacency list & perform DFS & BFS
0 comments:
Speak up your mind
Tell us what you're thinking... !