摘要:
1. Description: Notes: 2. Examples: 3.Solutions: /** * Created by sheepcore on 2018-12-24 */ class Solution { public int[] nextGreaterElement(int[] nu 阅读全文
posted @ 2020-03-02 17:00
SheepCore
阅读(139)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2018-12-24 3 */ 4 class Solution { 5 public String removeOuterParen 阅读全文
posted @ 2020-03-02 16:55
SheepCore
阅读(194)
评论(0)
推荐(0)
摘要:
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[] 阅读全文
posted @ 2020-03-02 16:51
SheepCore
阅读(170)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2020-03-02 16:47
SheepCore
阅读(170)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2018-11-11 3 */ 4 class Solution { 5 public String reverseOnlyLette 阅读全文
posted @ 2020-03-02 16:42
SheepCore
阅读(169)
评论(0)
推荐(0)
摘要:
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. 阅读全文
posted @ 2020-03-02 16:37
SheepCore
阅读(124)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2018-11-11 3 */ 4 class Solution { 5 public String[] reorderLogFile 阅读全文
posted @ 2020-03-02 16:32
SheepCore
阅读(190)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2020-03-02 16:28
SheepCore
阅读(139)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int[] sumEvenAfterQueri 阅读全文
posted @ 2020-03-02 16:23
SheepCore
阅读(215)
评论(0)
推荐(0)
摘要:
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[] 阅读全文
posted @ 2020-03-02 16:20
SheepCore
阅读(142)
评论(0)
推荐(0)
摘要:
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[][ 阅读全文
posted @ 2020-03-02 16:16
SheepCore
阅读(207)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int[] sortArrayByParity 阅读全文
posted @ 2020-03-02 16:11
SheepCore
阅读(140)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int numSpecialEquivGrou 阅读全文
posted @ 2020-03-02 16:07
SheepCore
阅读(130)
评论(0)
推荐(0)
摘要:
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) { 阅读全文
posted @ 2020-03-02 16:04
SheepCore
阅读(157)
评论(0)
推荐(0)
摘要:
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[] 阅读全文
posted @ 2020-03-02 16:00
SheepCore
阅读(277)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2020-03-02 15:57
SheepCore
阅读(180)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int[][] flipAndInvertIm 阅读全文
posted @ 2020-03-02 15:52
SheepCore
阅读(165)
评论(0)
推荐(0)
摘要:
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[ 阅读全文
posted @ 2020-03-02 15:48
SheepCore
阅读(145)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int uniqueMorseRepresen 阅读全文
posted @ 2020-03-02 15:44
SheepCore
阅读(254)
评论(0)
推荐(0)
摘要:
1. Description: 2. Examples: 3.Solutions: 1 class Solution { 2 public String toLowerCase(String str) { 3 return str.toLowerCase(); 4 } 5 } 阅读全文
posted @ 2020-03-02 15:36
SheepCore
阅读(119)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int numUniqueEmails(Str 阅读全文
posted @ 2020-03-02 15:33
SheepCore
阅读(165)
评论(0)
推荐(0)
摘要:
1. Description: 2.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-24 3 */ 4 class Solution { 5 public int[] sortArrayByParity(int[] A) { 6 7 int[ 阅读全文
posted @ 2020-03-02 15:29
SheepCore
阅读(165)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-02-12 3 */ 4 class Solution { 5 public int[] sortedSquares(int 阅读全文
posted @ 2020-03-02 15:25
SheepCore
阅读(179)
评论(0)
推荐(0)
摘要:
1. Description: 2.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-10 3 * Definition for singly-linked list. 4 * public class ListNode { 5 * int v 阅读全文
posted @ 2020-03-02 15:16
SheepCore
阅读(175)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: /** * Created by sheepcore on 2019-05-10 * Definition for singly-linked list. * public class ListNode 阅读全文
posted @ 2020-03-02 15:10
SheepCore
阅读(124)
评论(0)
推荐(0)
摘要:
1. Description: 2.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-10 3 * Definition for singly-linked list. 4 * public class ListNode { 5 * int v 阅读全文
posted @ 2020-03-02 15:05
SheepCore
阅读(195)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-10 3 * Definition for singly-linked list. 4 * public class 阅读全文
posted @ 2020-03-02 15:02
SheepCore
阅读(174)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-10 3 */ 4 class Solution { 5 public int[] nextGreaterElemen 阅读全文
posted @ 2020-03-02 14:58
SheepCore
阅读(154)
评论(0)
推荐(0)
摘要:
1. Description: 2.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-09 3 * Definition for a binary tree node. 4 * public class TreeNode { 5 * int v 阅读全文
posted @ 2020-03-02 14:54
SheepCore
阅读(118)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-07 3 */ 4 class Solution { 5 public boolean isValid(String 阅读全文
posted @ 2020-03-02 14:40
SheepCore
阅读(135)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-09 3 */ 4 class Solution { 5 public int scoreOfParentheses( 阅读全文
posted @ 2020-03-02 14:36
SheepCore
阅读(224)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-09 3 * Definition for a binary tree node. 4 * public class 阅读全文
posted @ 2020-03-02 14:31
SheepCore
阅读(156)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-09 3 * Definition for singly-linked list. 4 * public class 阅读全文
posted @ 2020-03-02 14:26
SheepCore
阅读(408)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-09 3 */ 4 class Solution { 5 public boolean validateStackSe 阅读全文
posted @ 2020-03-02 14:17
SheepCore
阅读(188)
评论(0)
推荐(0)
摘要:
1. Description: 2.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-07 3 */ 4 class Solution { 5 public int[] dailyTemperatures(int[] T) { 6 int[] 阅读全文
posted @ 2020-03-02 14:13
SheepCore
阅读(166)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-07 3 */ 4 class Solution { 5 public int minAddToMakeValid(S 阅读全文
posted @ 2020-03-02 13:55
SheepCore
阅读(128)
评论(0)
推荐(0)
摘要:
1. Description: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-07 3 */ 4 5 class Solution { 6 public boolean isValid(String s) { 阅读全文
posted @ 2020-03-02 13:50
SheepCore
阅读(178)
评论(0)
推荐(0)
摘要:
1. Description: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-07 3 * Your MinStack object will be instantiated and called as suc 阅读全文
posted @ 2020-03-02 13:43
SheepCore
阅读(188)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-07 3 * Your MyStack object will be instantiated and called 阅读全文
posted @ 2020-03-02 13:39
SheepCore
阅读(227)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-03-07 3 * Your MyQueue object will be instantiated and called 阅读全文
posted @ 2020-03-02 13:35
SheepCore
阅读(171)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-07 3 * Definition for singly-linked list. 4 * public class 阅读全文
posted @ 2020-03-02 13:29
SheepCore
阅读(109)
评论(0)
推荐(0)
摘要:
1. Description: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-07 3 * Definition for singly-linked list. 4 * public class ListNod 阅读全文
posted @ 2020-03-02 13:24
SheepCore
阅读(156)
评论(0)
推荐(0)
摘要:
1. Description: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-08 3 * Definition for singly-linked list. 4 * public class ListNod 阅读全文
posted @ 2020-03-02 13:19
SheepCore
阅读(156)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 /** 2 * Created by sheepcore on 2019-05-14 3 * Definition for singly-linked list. 4 * class ListNod 阅读全文
posted @ 2020-03-02 13:14
SheepCore
阅读(169)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 1 public String defangIPaddr(String address) { 2 return address.replace(".", "[.]"); 3 } 4. Summary: 阅读全文
posted @ 2020-03-02 13:03
SheepCore
阅读(145)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: Version 1: hashmap 1 /** 2 * Created by sheepcore on 2020-03-02 3 * @param J 4 * @param S 5 * @return 阅读全文
posted @ 2020-03-02 12:02
SheepCore
阅读(212)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: 4. Summary: 阅读全文
posted @ 2020-03-02 11:35
SheepCore
阅读(116)
评论(0)
推荐(0)
摘要:
1. Description: Notes: 2. Examples: 3.Solutions: Java Version 1: 1 /** 2 * @author sheepcore 3 * created on 2020-03-02 4 */ 5 public int[] decompressR 阅读全文
posted @ 2020-03-02 11:26
SheepCore
阅读(342)
评论(0)
推荐(0)
摘要:
1. Description notes: 2. Examples: 3. Solution: 1 """ 2 created by sheepcore on 2020-03-02 3 """ 4 from typing import List 5 6 7 def smallerNumbersTha 阅读全文
posted @ 2020-03-02 10:07
SheepCore
阅读(347)
评论(0)
推荐(0)

浙公网安备 33010602011771号