Articles in this series
Linked Lists A linked List is a container where data is stored in nodes consisting of a single data item and a reference to the next node. The...
Stack A last in, first out (LIFO) data container. Primary Stack Operations The primary functions used to manipulate a stack are push and pop....
What is Sorting? Sorting is an algorithm that arranges the elements of a list in a certain order [either ascending or descending]. The output is a...
Algorithm Bubble sort is the simplest sorting algorithm. It works by iterating the input array from the first element to the last, comparing each pair...
Selection Sort Selection sort is an in-place sorting algorithm. Selection sort works well for small files. It is used for sorting the files with very...
Insertion Sort Insertion sort is a simple and efficient comparison sort. In this algorithm, each iteration removes an element from the input data and...