@@ -0,0 +1,382 @@
+import java.util.Set;%0Aimport java.util.HashSet;%0A%0Apublic class FirstUniqueCharacterInAString %7B%0A  public int firstUniqChar(String s) %7B%0A    int l = s.length();%0A    int%5B%5D count = new int%5B128%5D;%0A%0A    for (int i = 0; i %3C l; i++) %7B%0A      count%5Bs.charAt(i)%5D++;%0A    %7D%0A%0A    for (int j = 0; j %3C l; j++) %7B%0A      if (count%5Bs.charAt(j)%5D == 1) %7B%0A        return j;%0A      %7D%0A    %7D%0A    return -1;%0A  %7D%0A%7D

Add first uniq character