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

Commit 1189ffc

Browse files
edit 387
1 parent 9ca291d commit 1189ffc

File tree

1 file changed

+4
-1
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+4
-1
lines changed

src/main/java/com/fishercoder/solutions/_387.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package com.fishercoder.solutions;
22

3-
/**Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1.
3+
/**
4+
* 387. First Unique Character in a String
5+
* Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1.
46
57
Examples:
68
@@ -12,6 +14,7 @@
1214
Note: You may assume the string contain only lowercase letters.
1315
1416
*/
17+
1518
public class _387 {
1619

1720
public static int firstUniqChar(String s) {

0 commit comments

Comments
 (0)