14 views
22 Dec 2025
Sort an array using Bubble Sort and explain how adjacent elements are repeatedly swapped to move the largest element to the end....
14 views
22 Dec 2025
Sort an array using Selection Sort by repeatedly selecting the minimum element and placing it at the correct position....
15 views
22 Dec 2025
Sort an array using Insertion Sort and explain how elements are inserted into their correct position....
15 views
22 Dec 2025
Sort an array using Merge Sort by dividing the array into halves and merging sorted subarrays....
13 views
22 Dec 2025
Sort an array using Quick Sort and explain pivot selection and partitioning....
14 views
22 Dec 2025
Sort an array using Heap Sort and explain heap construction and extraction....
13 views
22 Dec 2025
Sort elements using Counting Sort when the range of input values is known....
13 views
22 Dec 2025
Sort numbers using Radix Sort by processing digits from least to most significant....
13 views
22 Dec 2025
Sort elements by distributing them into buckets and sorting each bucket individually....
11 views
22 Dec 2025
Sort an array using Shell Sort and explain gap reduction....
11 views
22 Dec 2025
Explain Tim Sort algorithm used in Python and Java and why it is efficient in practice....
15 views
22 Dec 2025
Differentiate between stable and unstable sorting algorithms with examples....
11 views
22 Dec 2025
Explain in-place sorting algorithms and their advantages....
12 views
22 Dec 2025
Sort an array where each element is at most k positions away from its sorted position....
17 views
22 Dec 2025
Sort an array containing only 0s, 1s, and 2s using the Dutch National Flag algorithm....
15 views
22 Dec 2025
Merge two already sorted arrays into a single sorted array efficiently....
15 views
22 Dec 2025
Count the number of inversions in an array using a modified merge sort....
13 views
22 Dec 2025
Find the minimum number of swaps required to sort an array....
15 views
22 Dec 2025
Find the kth smallest element in an unsorted array using sorting or selection techniques....
13 views
22 Dec 2025
Sort an array of strings in lexicographical order using suitable sorting approach....