08 2021 档案
摘要:转自:这里
阅读全文
摘要:package LeetCode_526 /** * 526. Beautiful Arrangement * https://leetcode.com/problems/beautiful-arrangement/ * Suppose you have n integers labeled 1 t
阅读全文
摘要:package LeetCode_1305 /** * 1305. All Elements in Two Binary Search Trees * https://leetcode.com/problems/all-elements-in-two-binary-search-trees/ Giv
阅读全文
摘要:package LeetCode_1759 /** * 1759. Count Number of Homogenous Substrings * https://leetcode.com/problems/count-number-of-homogenous-substrings/ * Given
阅读全文
摘要:package LeetCode_1513 /** * 1513. Number of Substrings With Only 1s * https://leetcode.com/problems/number-of-substrings-with-only-1s/ * Given a binar
阅读全文
摘要:package LeetCode_539 import java.util.* /** * 539. Minimum Time Difference * https://leetcode.com/problems/minimum-time-difference/ * Given a list of
阅读全文
摘要:package LeetCode_473 /** * 473. Matchsticks to Square *https://leetcode.com/problems/matchsticks-to-square/ * You are given an integer array matchstic
阅读全文
摘要:/** * This problem was asked by Pivotal. Write an algorithm that finds the total number of set bits in all integers between 1 and N. * */ class Proble
阅读全文
摘要:package LeetCode_455 /** * 455. Assign Cookies * https://leetcode.com/problems/assign-cookies/ * Assume you are an awesome parent and want to give you
阅读全文
摘要:/** * This problem was asked by Google. A unival tree (which stands for "universal value") is a tree where all nodes under it have the same value. Giv
阅读全文
摘要:package LeetCode_376 /** * 376. Wiggle Subsequence * https://leetcode.com/problems/wiggle-subsequence/ * A wiggle sequence is a sequence where the dif
阅读全文
摘要:package LeetCode_327 /** * 327. Count of Range Sum * https://leetcode.com/problems/count-of-range-sum/ * Given an integer array nums and two integers
阅读全文