Docs.rs
leetcode-in-rust-0.2.10
leetcode-in-rust 0.2.10
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
zhongdongy
Dependencies
serde ^1.0.152
normal
serde_json ^1.0.93
normal
criterion ^0.4
dev
Versions
66.86%
of the crate is documented
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
leetcode_
rust
0.2.10
three_
sum_
closest
Sections
Arguments
In leetcode_
rust::
problems::
p000_
0xx::
p000_
016
leetcode_rust
::
problems
::
p000_0xx
::
p000_016
Function
three_sum_closest
Copy item path
Source
pub fn three_sum_closest(nums:
Vec
<
i32
>, target:
i32
) ->
i32
Expand description
3Sum Closest
ยง
Arguments
nums
- input number pairs
target
- the expected target number