Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d903a3d

Browse files
refactor 269
1 parent f3e4729 commit d903a3d

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
import java.util.Queue;
88
import java.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
public class _269 {
3611
public static class Solution1 {
3712

0 commit comments

Comments
 (0)