摘要:
https://leetcode.com/problems/first-unique-character-in-a-string/ public class Solution { public int firstUniqChar(String s) { int[] index = new int[26]; for (int i=0; i 0) { ... 阅读全文
posted @ 2016-08-29 11:59
blcblc
阅读(250)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/lexicographical-numbers/ public class Solution { public List lexicalOrder(int n) { List ret = new ArrayList(); int cur = 1; ret.add(cur); ... 阅读全文
posted @ 2016-08-29 00:23
blcblc
阅读(171)
评论(0)
推荐(0)