LeetCode 之 1200-2000 刷题笔记,指南,经验

因为题解较多,因此按照题号排序,每 100 道题汇总到一起。 你可以在侧边栏点击题号所处的范围,也可以通过 Ctrl + F 搜索题号/标题。

LeetCode 之 1200-2000 刷题笔记

1200. Minimum Absolute Difference 最小绝对差

1208. Get Equal Substrings Within Budget 尽可能使字符串相等

1221. Split a String in Balanced Strings 分割平衡字符串

1222. Queens That Can Attack the King 可以攻击国王的皇后

1305. All Elements in Two Binary Search Trees 两棵二叉搜索树中的所有元素

1399. Count Largest Group 统计最大组的数目

1400. Construct K Palindrome Strings 构造 K 个回文字符串

1401. Circle and Rectangle Overlapping 圆和矩形是否有重叠

1402. Reducing Dishes 做菜顺序

1403. Minimum Subsequence in Non-Increasing Order 非递增顺序的最小子序列

1404. Number of Steps to Reduce a Number in Binary Representation to One 将二进制表示减到 1 的步骤数

1405. Longest Happy String 最长快乐字符串

1408. String Matching in an Array 数组中的字符串匹配

1409. Queries on a Permutation With Key 查询带键的排列

1410. HTML Entity Parser HTML 实体解析器

1413. Minimum Value to Get Positive Step by Step Sum 逐步求和得到正数的最小值

1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K 和为 K 的最少斐波那契数字数目

1415. The k-th Lexicographical String of All Happy Strings of Length n 长度为 n 的开心字符串中字典序第 k 小的字符串

1417. Reformat The String 重新格式化字符串

1418. Display Table of Food Orders in a Restaurant 点菜展示表

1419. Minimum Number of Frogs Croaking 数青蛙

1423. Maximum Points You Can Obtain from Cards 可获得的最大点数

1431. Kids With the Greatest Number of Candies 拥有最多糖果的孩子

1432. Max Difference You Can Get From Changing an Integer 改变一个整数能得到的最大差值

1433. Check If a String Can Break Another String 检查一个字符串是否可以打破另一个字符串

1436. Destination City 旅行终点站

1437. Check If All 1's Are at Least Length K Places Away 是否所有 1 都至少相隔 k 个元素

1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit 绝对差不超过限制的最长连续子数组

1460. Make Two Arrays Equal by Reversing Sub-arrays 通过翻转子数组使两个数组相等

1461. Check If a String Contains All Binary Codes of Size K 检查一个字符串是否包含所有长度为 K 的二进制子串

1462. Course Schedule IV 课程表 IV

1464. Maximum Product of Two Elements in an Array 数组中两元素的最大乘积

1465. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts 切割后面积最大的蛋糕

1466. Reorder Routes to Make All Paths Lead to the City Zero 重新规划路线

1470. Shuffle the Array 重新排列数组

1471. The k Strongest Values in an Array 数组中的 k 个最强值

1472. Design Browser History 设计浏览器历史记录

1579. Remove Max Number of Edges to Keep Graph Fully Traversable 保证图可完全遍历

1631. Path With Minimum Effort 最小体力消耗路径

1768. Merge Strings Alternately 交替合并字符串

1769. Minimum Number of Operations to Move All Balls to Each Box 移动所有球到每个盒子所需的最小操作数

1823. Find the Winner of the Circular Game 找出游戏的获胜者