Commit e4380c7
authored
Add exponential_search doctest for empty array edge case
This doctest demonstrates that exponential_search correctly handles empty arrays by returning -1.1 parent a051ab5 commit e4380c7
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
0 commit comments