This commit is contained in:
Rohit Tanwar
2018-01-01 15:48:40 +05:30
parent a673f2c4c9
commit 1d8d2d812c
2 changed files with 19 additions and 1 deletions

View File

@ -13,6 +13,6 @@ const sortedIndex = (arr,n) => {
```
```js
sortedIndex([5,3,2,1], 4); // 1
sortedIndex([5,3,2,1], 4); //1
sortedIndex([30,50],40); // 1
```