摘要:
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.... 阅读全文
摘要:
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 = ... 阅读全文