LeetCode 之 600-699 刷题笔记,指南,经验

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

LeetCode 之 600-699 刷题笔记

604. Design Compressed String Iterator 迭代压缩字符串

605. Can Place Flowers 种花问题

606. Construct String from Binary Tree 根据二叉树创建字符串

609. Find Duplicate File in System 在系统中查找重复文件

611. Valid Triangle Number 有效三角形的个数

616. Add Bold Tag in String 给字符串添加加粗标签

617. Merge Two Binary Trees 合并二叉树

621. Task Scheduler 任务调度器

622. Design Circular Queue 设计循环队列

623. Add One Row to Tree 在二叉树中增加一行

624. Maximum Distance in Arrays 数组列表中的最大距离

628. Maximum Product of Three Numbers 三个数的最大乘积

632. Smallest Range Covering Elements from K Lists 最小区间

633. Sum of Square Numbers 平方数之和

636. Exclusive Time of Functions 函数的独占时间

637. Average of Levels in Binary Tree 二叉树的层平均值

638. Shopping Offers 大礼包

640. Solve the Equation 求解方程

641. Design Circular Deque 设计循环双端队列

643. Maximum Average Subarray I 子数组最大平均数 I

645. Set Mismatch 错误的集合

646. Maximum Length of Pair Chain 最长数对链

647. Palindromic Substrings 回文子串

648. Replace Words 单词替换

649. Dota2 Senate Dota2 参议院

650. 2 Keys Keyboard 只有两个键的键盘

652. Find Duplicate Subtrees 寻找重复的子树

653. Two Sum IV - Input is a BST 两数之和 IV - 输入 BST

654. Maximum Binary Tree 最大二叉树

655. Print Binary Tree 输出二叉树

657. Robot Return to Origin 机器人能否返回原点

658. Find K Closest Elements 找到 K 个最接近的元素

659. Split Array into Consecutive Subsequences 分割数组为连续子序列

661. Image Smoother 图片平滑器

662. Maximum Width of Binary Tree 二叉树最大宽度

663. Equal Tree Partition 均匀树划分

665. Non-decreasing Array 非递减数列

666. Path Sum IV 路径总和 IV

667. Beautiful Arrangement II 优美的排列 II

669. Trim a Binary Search Tree 修剪二叉搜索树

671. Second Minimum Node In a Binary Tree 二叉树中第二小的节点

672. Bulb Switcher II 灯泡开关 Ⅱ

673. Number of Longest Increasing Subsequence 最长递增子序列的个数

674. Longest Continuous Increasing Subsequence 最长连续递增序列

676. Implement Magic Dictionary 实现一个魔法字典

677. Map Sum Pairs 键值映射

678. Valid Parenthesis String 有效的括号字符串

680. Valid Palindrome II 验证回文字符串 Ⅱ

682. Baseball Game 棒球比赛

684. Redundant Connection 冗余连接

686. Repeated String Match 重复叠加字符串匹配

687. Longest Univalue Path 最长同值路径

688. Knight Probability in Chessboard 骑士在棋盘上的概率

689. Maximum Sum of 3 Non-Overlapping Subarrays 三个无重叠子数组的最大和

690. Employee Importance 员工的重要性

692. Top K Frequent Words 前K个高频单词

693. Binary Number with Alternating Bits 交替位二进制数

694. Number of Distinct Islands 不同岛屿的数量

695. Max Area of Island 岛屿的最大面积

696. Count Binary Substrings 计数二进制子串

697. Degree of an Array 数组的度

698. Partition to K Equal Sum Subsets 划分为k个相等的子集