☰
In leetcode_rust::problems_cn::p000_0xx::p000_014
?
Function
leetcode_rust
::
problems_cn
::
p000_0xx
::
p000_014
::
longest_common_prefix
source
·
[
−
]
pub fn longest_common_prefix(strs:
Vec
<
String
>) ->
String
Expand description
最长公共前缀
参数
strs
- 输入字符串