✏️ Explanatory Question

Differentiate between searching and sorting.

👁 91 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

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.