0 people like it.
Like the snippet!
Returns the index of the first element in the sorted array that does not compare less than 'target'. The given method returns an option type to handling non matching cases. parameters: target - The value whose lower bound has to be found arr - sorted array beg - start index, usually zero en - end index, usually length of array minus one
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: |
|
Link: | http://fssnip.net/805 |
Posted: | 3 years ago |
Author: | Krishna Mohan |
Tags: | algorithm |