Programming, Data Structures and Algorithms using Python, End Term
September 2024 term, 22 Dec 2024, Set QDF1
It finds the smallest element in D from index s1 to s2, both inclusive.
It reverses the list D between indices s1 and s2, both inclusive
It performs a merge sort in-place on this list D between indices s1 and s2, both inclusive
It swaps the elements in D at indices s1 and s2, and leaves the remaining elements unchanged.
Sign in to report a problem with this question.
You cannot change your answers after submitting.
The palette shows the status of every question. Pick a number to go straight to it.
Figure from the original question paper Figure from the original question paper Figure from the original question paper