10 2022 档案

摘要:原题链接在这里:https://leetcode.com/problems/height-of-binary-tree-after-subtree-removal-queries/ 题目: You are given the root of a binary tree with n nodes. E 阅读全文
posted @ 2022-10-30 13:28 Dylan_Java_NYC 阅读(250) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/count-number-of-nice-subarrays/ 题目: Given an array of integers nums and an integer k. A continuous subarray is c 阅读全文
posted @ 2022-10-29 13:15 Dylan_Java_NYC 阅读(44) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/shortest-path-to-get-food/ 题目: You are starving and you want to eat food as quickly as possible. You want to fin 阅读全文
posted @ 2022-10-23 06:27 Dylan_Java_NYC 阅读(60) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/number-of-subarrays-with-bounded-maximum/ 题目: Given an integer array nums and two integers left and right, retur 阅读全文
posted @ 2022-10-16 14:30 Dylan_Java_NYC 阅读(38) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/count-subarrays-with-fixed-bounds/ 题目: You are given an integer array nums and two integers minK and maxK. A fix 阅读全文
posted @ 2022-10-16 14:17 Dylan_Java_NYC 阅读(449) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/print-in-order/ 题目: Suppose we have a class: public class Foo { public void first() { print("first"); } public v 阅读全文
posted @ 2022-10-14 13:11 Dylan_Java_NYC 阅读(31) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/print-foobar-alternately/ 题目: Suppose you are given the following code: class FooBar { public void foo() { for ( 阅读全文
posted @ 2022-10-14 12:22 Dylan_Java_NYC 阅读(39) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/the-dining-philosophers/ 题目: Five silent philosophers sit at a round table with bowls of spaghetti. Forks are pl 阅读全文
posted @ 2022-10-14 12:02 Dylan_Java_NYC 阅读(60) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/print-zero-even-odd/ 题目: You have a function printNumber that can be called with an integer parameter and prints 阅读全文
posted @ 2022-10-14 09:54 Dylan_Java_NYC 阅读(62) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/fizz-buzz-multithreaded/ 题目: You have the four functions: printFizz that prints the word "fizz" to the console, 阅读全文
posted @ 2022-10-11 14:11 Dylan_Java_NYC 阅读(89) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/using-a-robot-to-print-the-lexicographically-smallest-string/ 题目: You are given a string s and a robot that curr 阅读全文
posted @ 2022-10-09 17:27 Dylan_Java_NYC 阅读(87) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/number-of-matching-subsequences/ 题目: Given a string s and an array of strings words, return the number of words[ 阅读全文
posted @ 2022-10-06 12:28 Dylan_Java_NYC 阅读(33) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/minimum-number-of-frogs-croaking/ 题目: You are given the string croakOfFrogs, which represents a combination of t 阅读全文
posted @ 2022-10-06 11:21 Dylan_Java_NYC 阅读(100) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/linked-list-in-binary-tree/ 题目: Given a binary tree root and a linked list with head as the first node. Return T 阅读全文
posted @ 2022-10-03 16:45 Dylan_Java_NYC 阅读(29) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/max-sum-of-rectangle-no-larger-than-k/ 题目: Given an m x n matrix matrix and an integer k, return the max sum of 阅读全文
posted @ 2022-10-03 16:11 Dylan_Java_NYC 阅读(19) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/task-scheduler-ii/ 题目: You are given a 0-indexed array of positive integers tasks, representing tasks that need 阅读全文
posted @ 2022-10-03 15:24 Dylan_Java_NYC 阅读(96) 评论(0) 推荐(0) 编辑

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