mirror of
https://github.com/dlang/phobos.git
synced 2025-05-14 08:55:54 +03:00
Added reference to binary search
This commit is contained in:
parent
c8ca17c6c6
commit
650609be9b
1 changed files with 3 additions and 2 deletions
|
@ -97,7 +97,8 @@ $(TR $(TDNW $(LREF endsWith)) $(TD $(D endsWith("rocks", "ks"))
|
|||
returns $(D true).)
|
||||
)
|
||||
$(TR $(TD $(LREF find)) $(TD $(D find("hello world",
|
||||
"or")) returns $(D "orld") using linear search.)
|
||||
"or")) returns $(D "orld") using linear search. (For binary search refer
|
||||
to $(XREF range,sortedRange).))
|
||||
)
|
||||
$(TR $(TDNW $(LREF findAdjacent)) $(TD $(D findAdjacent([1, 2,
|
||||
3, 3, 4])) returns the subrange starting with two equal adjacent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue