Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b751d1f

Browse files
authored
Update
1 parent 0134c6c commit b751d1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎problems/0200.岛屿数量.深搜版.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ class Solution:
282282
Rust:
283283

284284

285-
use std::collections::VecDeque;
285+
```rust
286286
impl Solution {
287287
const DIRECTIONS: [(i32, i32); 4] = [(0, 1), (1, 0), (-1, 0), (0, -1)];
288288
pub fn num_islands(grid: Vec<Vec<char>>) -> i32 {
@@ -312,8 +312,8 @@ impl Solution {
312312
}
313313
}
314314
}
315-
316315
}
316+
```
317317

318318
<p align="center">
319319
<a href="https://programmercarl.com/other/kstar.html" target="_blank">

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /