my own method of finding the pivot elements
please check if it is wrong , and it is different from the mentors video
Binary search in rotated array
if the answer is coming correct then it is righr , else it is wrong
you can choose the pivot randomly , any number in the array , it will always be correct
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.