Commit d2d5efd
BinarySearch: clearer median computation (TheAlgorithms#2182)
* BinarySearch: clearer median computation
">>> 1" is simply too obscure...
* update binary search
Co-authored-by: Yang Libin <contact@yanglibin.info>
Co-authored-by: Du Yuanchao <shellhub.me@gmail.com>
Co-authored-by: Yang Libin <contact@yanglibin.info>1 parent 02fab66 commit d2d5efd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments