8 Posts tagged with SORTING
Sorting Algorithms
Sorting algorithm is used to arrange elements of a data structure in specific order.
Bubble Sort Algorithm
Bubble Sort is the easiest sorting algorithm in which adjacent elements are compared with each other and swapped if the elements are not in proper order.
Selection Sort
Selection Sort Algorithm works by finding the minimum element of the array and placing the min element at its correct position
Data Structures & Algorithms Problems
Merge Two Sorted Linked Lists
Data Structures & Algorithms Problems
Remove Duplicates From Sorted List - Given a sorted linked list, delete all duplicates such that each element appear only once
Data Structures & Algorithms Problems
Merge Two Sorted Arrays - Given two integer arrays A and B sorted in increasing order, merge A and B into a single sorted array C in increasing order