In the previous video on sorted and rotated array we saw that the pivot element becomes the first element after rotation then why is 7 is the pivot element?
In the previous video on sorted and rotated array we saw that the pivot element becomes the first element after rotation then why is 7 is the pivot element?