Docs.rs
algorithm_rust-0.2.3
algorithm_rust 0.2.3
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
donjuanplatinum
Dependencies
Versions
83.33%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
algorithm_rust
0.2.3
Module search
Functions
In crate algorithm_rust
?
Module
algorithm_rust
::
search
source
·
[
−
]
Expand description
查找算法
Functions
§
binary_search
二分查找 O(log_{2}n) 找到时返回下标,未找到时返回插入点
linearity_search
线性查找 当找到时返回下标,否则Option::None
max_search
线性查找数组中的最大值
min_search
线性查找数组中的最小值