Algo-Phantoms / Algo-Tree

Algo-Tree is a collection of Algorithms and data structures which are fundamentals to efficient code and good software design. Creating and designing excellent algorithms is required for being an exemplary programmer. It contains solutions in various languages such as C++, Python and Java.
MIT License
363 stars 619 forks source link

Leftmost Index of X in given array #2017

Open Pushpit07 opened 3 years ago

Pushpit07 commented 3 years ago

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

Do you want to work on it C++

Please assign this to me under GSSoC

motasimmakki commented 3 years ago

/assign