What is Sorting in Data Structure
It is an operation in which data is arranged in particular order either in ascending order or in descending order.
Why we need sorting?:
• It optimises the searching of data.
• It helps in managing the data in more readable format.
• Example are:
• Telephone directory: Telephone directories keeps telephone number of people sorted on their names.
• Dictionaries: Words in alphabetical order.
15- Array- Sorting Introduction- DataStructure
CLICK HERE TO Download This PDF NOTES