上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 79 下一页
摘要: package LeetCode_40 /** * 40. Combination Sum II * https://leetcode.com/problems/combination-sum-ii/description/ * * Given a collection of candidate n 阅读全文
posted @ 2020-06-13 15:37 johnny_zhao 阅读(124) 评论(0) 推荐(0) 编辑
摘要: package _interview_question /** * Check if a given target element is found in the infinite long sorted array. * */ class Solution8 { /** * solution: b 阅读全文
posted @ 2020-06-13 13:11 johnny_zhao 阅读(139) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_280 /** * 280. Wiggle Sort * (locked by leetcode) * https://www.lintcode.com/problem/wiggle-sort/description * * Given an unsorted ar 阅读全文
posted @ 2020-06-12 21:56 johnny_zhao 阅读(154) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_559 import java.util.* /** * 559. Maximum Depth of N-ary Tree * https://leetcode.com/problems/maximum-depth-of-n-ary-tree/description 阅读全文
posted @ 2020-06-12 13:45 johnny_zhao 阅读(135) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_1411 /** * 1411. Number of Ways to Paint N × 3 Grid * https://leetcode.com/problems/number-of-ways-to-paint-n-3-grid/description/ * * 阅读全文
posted @ 2020-06-12 11:43 johnny_zhao 阅读(272) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_139 /** * 139. Word Break * https://leetcode.com/problems/word-break/description/ * * Example 1: Input: s = "leetcode", wordDict = [" 阅读全文
posted @ 2020-06-11 11:20 johnny_zhao 阅读(132) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_140 /** * 140. Word Break II * https://leetcode.com/problems/word-break-ii/description/ * * Given a non-empty string s and a dictiona 阅读全文
posted @ 2020-06-11 11:18 johnny_zhao 阅读(160) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_403 /** * 403. Frog Jump * https://leetcode.com/problems/frog-jump/description/ * * A frog is crossing a river. * The river is divide 阅读全文
posted @ 2020-06-10 14:50 johnny_zhao 阅读(116) 评论(0) 推荐(0) 编辑
摘要: package _Sort.Algorithm /** * https://www.geeksforgeeks.org/counting-sort/ * It is not a comparison based sorting. * It running time complexity is O(n 阅读全文
posted @ 2020-06-09 17:13 johnny_zhao 阅读(88) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_767 import java.util.* import kotlin.collections.HashMap /** * 767. Reorganize String * https://leetcode.com/problems/reorganize-stri 阅读全文
posted @ 2020-06-08 23:29 johnny_zhao 阅读(171) 评论(0) 推荐(0) 编辑
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 79 下一页