Movatterモバイル変換


[0]ホーム

URL:


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

Commitc34f755

Browse files
committed
127 (3) two-end BFS solution
1 parent1d768be commitc34f755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/_127_WordLadder/Solution.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
importjava.util.Set;
3030

3131
/** see test {@link _127_WordLadder.SolutionTest } */
32-
// two-end BFS, construct graph from begin and end at the same time
3332
publicclassSolution {
3433

34+
// two-end BFS, construct graph from begin and end at the same time
3535
publicintladderLength(StringbeginWord,StringendWord,Set<String>wordDict) {
3636
intlen =1;
3737
Set<String>beginSet =newHashSet<>();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp