08 2020 档案

摘要:package LeetCode_334 /** * 334. Increasing Triplet Subsequence * https://leetcode.com/problems/increasing-triplet-subsequence/description/ * * Given a 阅读全文
posted @ 2020-08-31 23:53 johnny_zhao 阅读(83) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_367 /** * 367. Valid Perfect Square * https://leetcode.com/problems/valid-perfect-square/description/ * * Given a positive integer nu 阅读全文
posted @ 2020-08-30 12:14 johnny_zhao 阅读(72) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_69 /** * 69. Sqrt(x) * https://leetcode.com/problems/sqrtx/description/ * * Implement int sqrt(int x). Compute and return the square 阅读全文
posted @ 2020-08-30 11:36 johnny_zhao 阅读(90) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_251 /** * 251. Flatten 2D Vector * (Prime) * Design and implement an iterator to flatten a 2d vector. It should support the following 阅读全文
posted @ 2020-08-27 00:34 johnny_zhao 阅读(94) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_766 /** * 766. Toeplitz Matrix * https://leetcode.com/problems/toeplitz-matrix/description/ * * A matrix is Toeplitz if every diagona 阅读全文
posted @ 2020-08-26 23:59 johnny_zhao 阅读(103) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_286 import java.util.* /** * 286. Walls and Gates * (Prime) * * You are given a m x n 2D grid initialized with these three possible v 阅读全文
posted @ 2020-08-24 13:05 johnny_zhao 阅读(185) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_1557 /** * 1557. Minimum Number of Vertices to Reach All Nodes * https://leetcode.com/problems/minimum-number-of-vertices-to-reach-al 阅读全文
posted @ 2020-08-23 15:50 johnny_zhao 阅读(225) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_310 import java.util.* import kotlin.collections.ArrayList /** * 310. Minimum Height Trees * https://leetcode.com/problems/minimum-he 阅读全文
posted @ 2020-08-23 15:10 johnny_zhao 阅读(81) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_84 import java.util.* /** * 84. Largest Rectangle in Histogram * https://leetcode.com/problems/largest-rectangle-in-histogram/descrip 阅读全文
posted @ 2020-08-23 11:07 johnny_zhao 阅读(117) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_84 /** * 84. Largest Rectangle in Histogram * https://leetcode.com/problems/largest-rectangle-in-histogram/description/ * * Given n n 阅读全文
posted @ 2020-08-23 10:54 johnny_zhao 阅读(95) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_73 /** * 73. Set Matrix Zeroes * https://leetcode.com/problems/set-matrix-zeroes/description/ * * Given a m x n matrix, if an element 阅读全文
posted @ 2020-08-22 23:56 johnny_zhao 阅读(73) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_452 /** * 452. Minimum Number of Arrows to Burst Balloons * https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/ 阅读全文
posted @ 2020-08-21 11:20 johnny_zhao 阅读(65) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_435 /** * 435. Non-overlapping Intervals * https://leetcode.com/problems/non-overlapping-intervals/description/ * * Given a collectio 阅读全文
posted @ 2020-08-21 11:18 johnny_zhao 阅读(108) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_264 import java.util.* /** * 264. Ugly Number II * https://leetcode.com/problems/ugly-number-ii/description/ * * Write a program to f 阅读全文
posted @ 2020-08-20 23:48 johnny_zhao 阅读(123) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_264 import java.util.* /** * 264. Ugly Number II * https://leetcode.com/problems/ugly-number-ii/description/ * * Write a program to f 阅读全文
posted @ 2020-08-20 23:47 johnny_zhao 阅读(88) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_263 /** * 263. Ugly Number * https://leetcode.com/problems/ugly-number/description/ * * Write a program to check whether a given numb 阅读全文
posted @ 2020-08-20 23:12 johnny_zhao 阅读(75) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_528 import java.util.* /** * 528. Random Pick with Weight * https://leetcode.com/problems/random-pick-with-weight/description/ * * Gi 阅读全文
posted @ 2020-08-18 23:42 johnny_zhao 阅读(99) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_875 /** * 875. Koko Eating Bananas * https://leetcode.com/problems/koko-eating-bananas/description/ * * Koko loves to eat bananas. Th 阅读全文
posted @ 2020-08-17 14:37 johnny_zhao 阅读(124) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_721 import java.util.* import kotlin.collections.ArrayList import kotlin.collections.HashMap /** * 721. Accounts Merge * https://leet 阅读全文
posted @ 2020-08-16 00:39 johnny_zhao 阅读(138) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_515 import java.util.* import kotlin.collections.ArrayList /** * 515. Find Largest Value in Each Tree Row * https://leetcode.com/prob 阅读全文
posted @ 2020-08-15 14:37 johnny_zhao 阅读(96) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_286 /** * 286. Walls and Gates * (Prime) * * You are given a m x n 2D grid initialized with these three possible values. 1. -1 - A wa 阅读全文
posted @ 2020-08-15 14:22 johnny_zhao 阅读(86) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_408 /** * 408. Valid Word Abbreviation * (Prime) * Given a non-empty string s and an abbreviation abbr, return whether the string mat 阅读全文
posted @ 2020-08-15 00:19 johnny_zhao 阅读(195) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_886 import java.util.* import kotlin.collections.ArrayList /** * 886. Possible Bipartition * https://leetcode.com/problems/possible-b 阅读全文
posted @ 2020-08-13 00:38 johnny_zhao 阅读(133) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_676 /** * 676. Implement Magic Dictionary * https://leetcode.com/problems/implement-magic-dictionary/description/ * * Implement a mag 阅读全文
posted @ 2020-08-12 23:53 johnny_zhao 阅读(105) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_848 /** * 848. Shifting Letters * https://leetcode.com/problems/shifting-letters/description/ * We have a string S of lowercase lette 阅读全文
posted @ 2020-08-10 22:39 johnny_zhao 阅读(132) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_582 import java.util.* import kotlin.collections.ArrayList import kotlin.collections.HashMap /** * 582.Kill Process * (Prime) *Given 阅读全文
posted @ 2020-08-09 23:44 johnny_zhao 阅读(145) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_763 /** * 763. Partition Labels * https://leetcode.com/problems/partition-labels/description/ * * A string S of lowercase English let 阅读全文
posted @ 2020-08-09 23:04 johnny_zhao 阅读(69) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_398 /** * 398. Random Pick Index * https://leetcode.com/problems/random-pick-index/description/ * * Given an array of integers with p 阅读全文
posted @ 2020-08-09 11:19 johnny_zhao 阅读(74) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_720 /** * 720. Longest Word in Dictionary * https://leetcode.com/problems/longest-word-in-dictionary/description/ * Given a list of s 阅读全文
posted @ 2020-08-09 11:15 johnny_zhao 阅读(67) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_826 /** * 826. Most Profit Assigning Work * https://leetcode.com/problems/most-profit-assigning-work/description/ * * We have jobs: d 阅读全文
posted @ 2020-08-08 14:30 johnny_zhao 阅读(102) 评论(0) 推荐(0) 编辑
摘要:/** * Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given the root of a binary tree, return a deepes 阅读全文
posted @ 2020-08-08 10:33 johnny_zhao 阅读(137) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_238 /** * 238. Product of Array Except Self * https://leetcode.com/problems/product-of-array-except-self/description/ * Given an arra 阅读全文
posted @ 2020-08-06 01:35 johnny_zhao 阅读(88) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_238 /** * 238. Product of Array Except Self * https://leetcode.com/problems/product-of-array-except-self/description/ * Given an arra 阅读全文
posted @ 2020-08-06 01:20 johnny_zhao 阅读(67) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_567 /** * 567. Permutation in String * https://leetcode.com/problems/permutation-in-string/description/ * * Given two strings s1 and 阅读全文
posted @ 2020-08-05 23:18 johnny_zhao 阅读(96) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_802 /** * 802. Find Eventual Safe States * https://leetcode.com/problems/find-eventual-safe-states/description/ * * In a directed gra 阅读全文
posted @ 2020-08-05 01:10 johnny_zhao 阅读(191) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_314 import java.util.* import kotlin.collections.ArrayList import kotlin.collections.HashMap /** * 314. Binary Tree Vertical Order Tr 阅读全文
posted @ 2020-08-04 01:07 johnny_zhao 阅读(113) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_986 /** * 986. Interval List Intersections * https://leetcode.com/problems/interval-list-intersections/description/ * * Given two lis 阅读全文
posted @ 2020-08-03 23:05 johnny_zhao 阅读(130) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_1249 /** * 1249. Minimum Remove to Make Valid Parentheses * https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/de 阅读全文
posted @ 2020-08-02 23:38 johnny_zhao 阅读(88) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_1249 /** * 1249. Minimum Remove to Make Valid Parentheses * https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/de 阅读全文
posted @ 2020-08-02 23:36 johnny_zhao 阅读(202) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_125 /** * 125. Valid Palindrome * https://leetcode.com/problems/valid-palindrome/description/ * * Given a string, determine if it is 阅读全文
posted @ 2020-08-02 00:31 johnny_zhao 阅读(68) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_230 import java.util.* /** * 230. Kth Smallest Element in a BST * https://leetcode.com/problems/kth-smallest-element-in-a-bst/descrip 阅读全文
posted @ 2020-08-01 23:55 johnny_zhao 阅读(57) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_1446 /** * 1446. Consecutive Characters * https://leetcode.com/problems/consecutive-characters/description/ * Given a string s, the p 阅读全文
posted @ 2020-08-01 23:24 johnny_zhao 阅读(176) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_340 /** * 340. Longest Substring with At Most K Distinct Characters * (Locked by leetcode) * https://www.lintcode.com/problem/longest 阅读全文
posted @ 2020-08-01 00:56 johnny_zhao 阅读(168) 评论(1) 推荐(0) 编辑
摘要:package LeetCode_1004 /** * 1004. Max Consecutive Ones III * https://leetcode.com/problems/max-consecutive-ones-iii/description/ * * Given an array A 阅读全文
posted @ 2020-08-01 00:52 johnny_zhao 阅读(96) 评论(0) 推荐(0) 编辑
摘要:package LeetCode_485 /** * 485. Max Consecutive Ones * https://leetcode.com/problems/max-consecutive-ones/description/ * * Given a binary array, find 阅读全文
posted @ 2020-08-01 00:30 johnny_zhao 阅读(84) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示