Data Structures & Algorithms


A data structure is a named location that can be used to store and organize data. And, an algorithm is a collection of steps to solve a particular problem.



...
Operations on Array

In computer science, an array data structure is a data structure consisting of a collection of elements , each identified by at least one array index or key.

...
Operations on Stack

A stack is a linear data structure, collection of items of the same type. Stack follows the Last In First Out (LIFO) fashion wherein the last element entered is the first one to be popped out

...
Operations on Linked list

A linked list is a sequence of data structures, which are connected together via links. Each link contains a connection to another link. Linked list is the second most-used data structure after array.




...
Operations on Queue

A queue in C is basically a linear data structure to store and manipulate the data elements. It follows the order of First In First Out (FIFO).

...
Tower of Hanoi Problem

The tower of Hanoi is a mathematical puzzle. It consists of three rods and a number of disks of different sizes which can slide onto any rod.

...
Operations on Matrix

The two dimensional (2D) array in C programming is also known as matrix. A matrix can be represented as a table of rows and columns.




...
Sorting Algorithms with Codes

A Sorting Algorithm is used to rearrange a given array or list elements according to a comparison operator on the elements.

...
Searching Algorithms with Codes

Searching Algorithms are designed to check for an element or retrieve an element from any data structure where it is stored.

...
Binary Tree Operation

Binary tree is basically tree in which each node can have two child nodes and each child node can itself be a small binary tree.