Computer Science, asked by khushi212211, 9 months ago

What is sorting in data structures? What are the objectives of sorting?​

Answers

Answered by Anonymous
5

Answer:

In computer science, a sorting algorithm is an algorithm that puts elements of a list in a certain order. The most frequently used orders are numerical order and lexicographical order.

Answered by Anonymous
1

Sorting in data structures refers to the process of arranging the given data in a particular order or format. It can be least to most, alphabetical or reverse order, etc.

The objectives of sorting are as follows-

  • It allows arranging the data in a relevant order to make comparing and understanding easy.
  • It saves time in finding, rearranging, locating data.
  • It increases the efficiency of the algorithm and the ability to work with huge data.
Similar questions