You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In a sorted array of positive integers (elements may be repeated), the task is to find the leftmost index of a number x in the array.
Describe the solution you'd like
I would solve this problem using the principle of binary search