摘要:
1. Description: Notes: 2. Examples: 3.Solutions: /** * Created by sheepcore on 2018-12-24 */ class Solution { public int[] nextGreaterElement(int[] nu 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2018-12-24 3 */ 4 class Solution { 5 public String removeOuterParen 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2018-12-24 3 */ 4 class Solution { 5 public int calPoints(String[] 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2018-12-24 3 */ 4 class Solution { 5 public boolean buddyStrings(St 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2018-11-11 3 */ 4 class Solution { 5 public String reverseOnlyLette 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 class Solution { 2 public int findLUSlength(String a, String b) { 3 return a.equals(b) ? -1 : Math. 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2018-11-11 3 */ 4 class Solution { 5 public String[] reorderLogFile 阅读全文
摘要:
1. Description: 2.Solutions: 1 /** 2 * Created by sheepcore on 2019-01-23 3 */ 4 class Solution { 5 public int[] twoSum(int[] nums, int target) { 6 Ma 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int[] sumEvenAfterQueri 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int arrayPairSum(int[] 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int[][] kClosest(int[][ 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int[] sortArrayByParity 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int numSpecialEquivGrou 阅读全文
摘要:
1. Description: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public void reverseString(char[] s) { 阅读全文
摘要:
1. Description: 2.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public String reverseWords(String s) { 6 String[] 阅读全文
摘要:
1. Description: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 * best time complexity: O(n) 4 * average time complexity: O(n 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int[][] flipAndInvertIm 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int repeatedNTimes(int[ 阅读全文
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int uniqueMorseRepresen 阅读全文
摘要:
1. Description: 2. Examples: 3.Solutions: 1 class Solution { 2 public String toLowerCase(String str) { 3 return str.toLowerCase(); 4 } 5 } 阅读全文