leetcode 20 rust
题目 编程语言 rust 注意点 字符也可以用==,!= 代码 pub fn is_valid(s: String) -> bool { let mut p = Vec::new(); for i in s.chars() { match i { '[' => p.push(']'), '(' =>
posted on 2021-04-08 13:34 GeniusOfCX 阅读(36) 评论(0) 编辑 收藏 举报
posted on 2021-04-08 13:34 GeniusOfCX 阅读(36) 评论(0) 编辑 收藏 举报