摘要: 1 class Solution { 2 public boolean isNStraightHand(int[] hand, int W) { 3 if(W == 1) return true; 4 Arrays.sort(hand); 5 int i = 0, j = 0; 6 while(i < hand.... 阅读全文
posted @ 2018-10-18 14:17 jasoncool1 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1 class Solution { 2 public boolean isIsomorphic(String s, String t) { 3 if(s.length() != t.length()) return false; 4 int[] record1 = new int[200]; 5 int[] record2 = ... 阅读全文
posted @ 2018-10-18 13:29 jasoncool1 阅读(90) 评论(0) 推荐(0) 编辑