https://ide.codingblocks.com/s/65911
@Anubhav-Aron-1353657628083250
Help rahul to search doubt
1.FindPivot function is not working correctly,it is not returning correct pivot point .
2. During binary search Line 48-> replace n with n-1
Hit like if u get it
Let us know if u are not able to debug findPivot function