if array is not rotated the it doesnot gives output
1 2 3 4 5 6
it doesnot give output if array is completely sorted
and when that case will arise pivot element doesn’t exist??
if array is not rotated the it doesnot gives output
1 2 3 4 5 6
it doesnot give output if array is completely sorted
and when that case will arise pivot element doesn’t exist??