Differentiate between searching and sorting.
Views 5
Answer:
Searching | Sorting |
---|---|
Searching means to search for a term or value in an array. | Sorting means to arrange the elements of the array in ascending or descending order. |
Linear search and Binary search are examples of search techniques. | Bubble sort and Selection sort are examples of sorting techniques. |
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.