Sorting is the process of
arranging
a list of elements in a specific order, typically in ascending or descending order.
There are many different
algorithms
and data structures that can be used to sort data
The
choice
of algorithm depends on the characteristics of the data being sorted and the requirements of the application
There are two different categories in sorting.
1.
Internal
sorting
2.
External
sorting
Some common sorting
algorithms
include bubble sort, selection sort, insertion sort, merge sort, and quick sort
Sorting algorithms can be
classified
based on their efficiency and the amount of additional memory they require.
Sorting algorithms can be
implemented
in various programming languages like c, c++,java, python ,etc
Recursion in data structure