Binary Tree

Introduction Binary Tree is considered as the mother tree because most of the trees are derived from this tree. Definition A binary tree is a type of tree in which no node can have more than two children is called a binary tree. A tree is a finite set of nodes storing Read more…

Loading

Circular Linked List Example

Single Circular Linked List Example: A data structure program using C to create a Single Circular Linked List with user-defined nodes to store records with at least two attributes of student and then display all the stored records. Example: A data structure program using C to Insert a new node into a Single Circular Read more…

Loading

Sorting Example

Example : A Sorting Example/program in C to show Bubble Sort. Example : A Sorting Example/program in C to show Insertion Sort. Example : A Sorting Example/program in C to show Selection Sort. Example : A Sorting Example/program in C to show Quick Sort.

Loading

Searching Example

Example : A Searching Example/program in C to show the Linear/Sequential Search using Array. [Searching in the Array]. Example: A computer program in C to show the Linear/Sequential Search using Linked List. [Searching in the Linked List]. Example: Algorithm for Linear Search. The linear search algorithm, also known as sequential search, Read more…

Loading

Queue Examples

Simple/Normal Queue Examples            Example : Data structure program using Queue in C to create a simple or normal queue having five nodes and display its contents. OR Example : Data structure programs using C to insert a new node in a simple or normal queue Read more…

Loading

Stack Example

Example: A data structure stack example/program using C to create a Stack with user-defined nodes to store records with at least two attributes of employee and then display all the stored records. Example: A data structure stack example/program using C to insert a new node in an existing Stack [Push Operation] and Read more…

Loading

Singly Linked List Examples

Example : Data structure Singly Linked List Examples/programs using C to create a single-inked list with five nodes to store five records with at least two student attributes and then display all the stored records using for/while loops. Example : Data structure Singly Linked List Examples/programs using C++ to create a Read more…

Loading

Linked List

Memory Allocation/Linked List Method’s Link        Introduction A linked list is also known as a ‘Self Referential Structure‘ because a member of the structure/node is declared as a pointer that points to the same (but another) structure/node in the list. The structure is the most appropriate data variable Read more…

Loading