Binary Search Pivot Element approach


My code is working, I’d like to know if my approach is correct.

hey @samikshamodi7, I have made changes to your code. You can check them here https://ide.codingblocks.com/s/96327