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

Commitd903a3d

Browse files
refactor 269
1 parentf3e4729 commitd903a3d

File tree

1 file changed

+0
-25
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-25
lines changed

‎src/main/java/com/fishercoder/solutions/_269.java

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,6 @@
77
importjava.util.Queue;
88
importjava.util.Set;
99

10-
/**
11-
* 269. Alien Dictionary
12-
*
13-
* There is a new alien language which uses the latin alphabet.
14-
* However, the order among letters are unknown to you.
15-
* You receive a list of words from the dictionary, where words are sorted lexicographically by the rules of this new language.
16-
* Derive the order of letters in this language.
17-
18-
For example,
19-
Given the following words in dictionary,
20-
21-
[
22-
"wrt",
23-
"wrf",
24-
"er",
25-
"ett",
26-
"rftt"
27-
]
28-
The correct order is: "wertf".
29-
30-
Note:
31-
You may assume all letters are in lowercase.
32-
If the order is invalid, return an empty string.
33-
There may be multiple valid order of letters, return any one of them is fine.
34-
*/
3510
publicclass_269 {
3611
publicstaticclassSolution1 {
3712

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp