Category: Data Structure Tutorials

Selection sort in DS

Selection Sort in Data Structure

Selection sort is another sorting technique in which we find the minimum element in every iteration and place it in the array beginning from the first index. Thus, a selection sort also gets divided...

Insertion Sort in Data Structure

Insertion Sort in Data Structure

Insertion sort is a comparison-based sorting algorithm mostly suited for small datasets. Insertion sort has wide practical implementations. For example, sorting of play cards is an implementation of insertion sort. Arranging randomly arranged answer...

Bubble sort in DS

Bubble Sort in Data Structure

Oftentimes, we have a huge amount of data. It is sometimes difficult to deal with such data especially when it is placed randomly. In such cases, sorting that data becomes of utmost importance. Sorting...

Expression Parsing

Expression Parsing in Data Structure

An expression is a statement that generates a value on evaluation. Parsing means analyzing a string or a set of symbols one by one depending on a particular criterion. Expression parsing a term used...

Binary Search

Binary Search in Data Structure

There are various ways to search a particular element from a given list. One of them is Binary search. When there exists so much data everywhere, it is very necessary to have a good...

Linear Search in Data Structure

Linear Search in Data Structure

Searching is a technique used to find out a particular element from a given list of elements. We can perform searching on any data structure such as arrays, linked lists, trees, graphs, etc. If...

Queue in Data Structure

Queue in Data Structure

The queue data structure is linear. It follows the FIFO approach i.e. First In First Out or Last In Last Out. In the queue, the order of insertion is the same as the order...

Stack in Data Structure

Stack in Data Structure

Every data structure either has an Abstract view or a concrete view. In an abstract view, we hide the implementation details. In concrete view, there is an actual implementation of the data structure. A...

Greedy Algorithms

Greedy Algorithm with Applications

We encounter various types of computational problems each of which requires a different technique for solving. A problem that requires a maximum or minimum result is the optimization problem. There are broadly 3 ways...

Circular linked list in DS

Circular Linked List in Data Structure

So far, we have seen that there are mainly three types of linked lists: 1. Singly-linked list 2. Doubly linked list 3. Circular linked list A circular linked list is a variation of a...