☰
In leetcode_rust::problems_cn::p000_0xx::p000_016
?
Function
leetcode_rust
::
problems_cn
::
p000_0xx
::
p000_016
::
three_sum_closest
source
·
[
−
]
pub fn three_sum_closest(nums:
Vec
<
i32
>, target:
i32
) ->
i32
Expand description
最接近的三数之和
参数
nums
- 传入数字序列
target
- 期望靠近的目标值