2000道Java版LeetCode题解 - 阅读指南

LeetCode 刷题目录

01、 1200. Minimum Absolute Difference 最小绝对差
02、 1208. Get Equal Substrings Within Budget 尽可能使字符串相等
03、 1221. Split a String in Balanced Strings 分割平衡字符串
04、 1222. Queens That Can Attack the King 可以攻击国王的皇后
05、 1305. All Elements in Two Binary Search Trees 两棵二叉搜索树中的所有元素
06、 1399. Count Largest Group 统计最大组的数目
07、 1400. Construct K Palindrome Strings 构造 K 个回文字符串
08、 1401. Circle and Rectangle Overlapping 圆和矩形是否有重叠
09、 1402. Reducing Dishes 做菜顺序
10、 1403. Minimum Subsequence in Non-Increasing Order 非递增顺序的最小子序列
11、 1404. Number of Steps to Reduce a Number in Binary Representation to One 将二进制表示减到 1 的步骤数
12、 1405. Longest Happy String 最长快乐字符串
13、 1408. String Matching in an Array 数组中的字符串匹配
14、 1409. Queries on a Permutation With Key 查询带键的排列
15、 1410. HTML Entity Parser HTML 实体解析器
16、 1413. Minimum Value to Get Positive Step by Step Sum 逐步求和得到正数的最小值
17、 1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K 和为 K 的最少斐波那契数字数目
18、 1415. The k-th Lexicographical String of All Happy Strings of Length n 长度为 n 的开心字符串中字典序第 k 小的字符串
19、 1417. Reformat The String 重新格式化字符串
20、 1418. Display Table of Food Orders in a Restaurant 点菜展示表
21、 1419. Minimum Number of Frogs Croaking 数青蛙
22、 1423. Maximum Points You Can Obtain from Cards 可获得的最大点数
23、 1431. Kids With the Greatest Number of Candies 拥有最多糖果的孩子
24、 1432. Max Difference You Can Get From Changing an Integer 改变一个整数能得到的最大差值
25、 1433. Check If a String Can Break Another String 检查一个字符串是否可以打破另一个字符串
26、 1436. Destination City 旅行终点站
27、 1437. Check If All 1's Are at Least Length K Places Away 是否所有 1 都至少相隔 k 个元素
28、 1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit 绝对差不超过限制的最长连续子数组
29、 1460. Make Two Arrays Equal by Reversing Sub-arrays 通过翻转子数组使两个数组相等
30、 1461. Check If a String Contains All Binary Codes of Size K 检查一个字符串是否包含所有长度为 K 的二进制子串
31、 1462. Course Schedule IV 课程表 IV
32、 1464. Maximum Product of Two Elements in an Array 数组中两元素的最大乘积
33、 1465. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts 切割后面积最大的蛋糕
34、 1466. Reorder Routes to Make All Paths Lead to the City Zero 重新规划路线
35、 1470. Shuffle the Array 重新排列数组
36、 1471. The k Strongest Values in an Array 数组中的 k 个最强值
37、 1472. Design Browser History 设计浏览器历史记录
38、 1579. Remove Max Number of Edges to Keep Graph Fully Traversable 保证图可完全遍历
39、 1631. Path With Minimum Effort 最小体力消耗路径
40、 1768. Merge Strings Alternately 交替合并字符串
41、 1769. Minimum Number of Operations to Move All Balls to Each Box 移动所有球到每个盒子所需的最小操作数
42、 1823. Find the Winner of the Circular Game 找出游戏的获胜者