In the problem 9, what if there are repetitions allowed and you need to find the index

Question:

In the problem 9, what if there are repetitions allowed and you need to find the index of the first occurrence of the element in the rotated-sorted list.image text in transcribed

problem 9

Write pros and cons of Heap-Sort, Merge-Sort and Quick-Sort.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: