因为题解较多,因此按照题号排序,每 100 道题汇总到一起。 你可以在侧边栏点击题号所处的范围,也可以通过 Ctrl + F 搜索题号/标题。 LeetCode 之 800-899 刷题笔记 800. Similar RGB Color 相似 RGB 颜色 801. Minimum Swaps To Make Sequences Increasing 使序列递增的最小交换次数 802. Find Eventual Safe States 找到最终的安全状态 804. Unique Morse Code Words 唯一摩尔斯密码词 806. Number of Lines To Write String 写字符串需要的行数 807. Max Increase to Keep City Skyline 保持城市天际线 808. Soup Servings 分汤 809. Expressive Words 情感丰富的文字 811. Subdomain Visit Count 子域名访问计数 812. Largest Triangle Area 最大三角形面积 813. Largest Sum of Averages 最大平均值和的分组 814. Binary Tree Pruning 二叉树剪枝 816. Ambiguous Coordinates 模糊坐标 817. Linked List Components 链表组件 819. Most Common Word 最常见的单词 820. Short Encoding of Words 单词的压缩编码 821. Shortest Distance to a Character 字符的最短距离 822. Card Flipping Game 翻转卡片游戏 823. Binary Trees With Factors 带因子的二叉树 824. Goat Latin 山羊拉丁文 825. Friends Of Appropriate Ages 适龄的朋友 826. Most Profit Assigning Work 安排工作以达到最大收益 829. Consecutive Numbers Sum 连续整数求和 830. Positions of Large Groups 较大分组的位置 831. Masking Personal Information 隐藏个人信息 832. Flipping an Image 翻转图像 833. Find And Replace in String 字符串中的查找与替换 835. Image Overlap 图像重叠 836. Rectangle Overlap 矩形重叠 837. New 21 Game 新 21 点 838. Push Dominoes 推多米诺 839. Similar String Groups 相似字符串组 840. Magic Squares In Grid 矩阵中的幻方 841. Keys and Rooms 钥匙和房间 842. Split Array into Fibonacci Sequence 将数组拆分成斐波那契序列 844. Backspace String Compare 比较含退格的字符串 845. Longest Mountain in Array 数组中的最长山脉 846. Hand of Straights 一手顺子 847. Shortest Path Visiting All Nodes 访问所有节点的最短路径 848. Shifting Letters 字母移位 849. Maximize Distance to Closest Person 到最近的人的最大距离 851. Loud and Rich 喧闹和富有 852. Peak Index in a Mountain Array 山脉数组的峰顶索引 853. Car Fleet 车队 855. Exam Room 考场就座 856. Score of Parentheses 括号的分数 857. Minimum Cost to Hire K Workers 雇佣 K 名工人的最低成本 858. Mirror Reflection 镜面反射 859. Buddy Strings 亲密字符串 860. Lemonade Change 柠檬水找零 861. Score After Flipping Matrix 翻转矩阵后的得分 862. Shortest Subarray with Sum at Least K 和至少为 K 的最短子数组 863. All Nodes Distance K in Binary Tree 二叉树中所有距离为 K 的结点 865. Smallest Subtree with all the Deepest Nodes 具有所有最深节点的最小子树 867. Transpose Matrix 转置矩阵 868. Binary Gap 二进制间距 869. Reordered Power of 2 重新排序得到 2 的幂 870. Advantage Shuffle 优势洗牌 871. Minimum Number of Refueling Stops 最低加油次数 872. Leaf-Similar Trees 叶子相似的树 873. Length of Longest Fibonacci Subsequence 最长的斐波那契子序列的长度 874. Walking Robot Simulation 模拟行走机器人 875. Koko Eating Bananas 爱吃香蕉的珂珂 876. Middle of the Linked List 链表的中间结点 877. Stone Game 石子游戏 880. Decoded String at Index 索引处的解码字符串 881. Boats to Save People 救生艇 883. Projection Area of 3D Shapes 三维形体投影面积 884. Uncommon Words from Two Sentences 两句话中的不常见单词 885. Spiral Matrix III 螺旋矩阵 III 886. Possible Bipartition 可能的二分法 887. Super Egg Drop 鸡蛋掉落 888. Fair Candy Swap 公平的糖果交换 889. Construct Binary Tree from Preorder and Postorder Traversal 根据前序和后序遍历构造二叉树 890. Find and Replace Pattern 查找和替换模式 892. Surface Area of 3D Shapes 三维形体的表面积 893. Groups of Special-Equivalent Strings 特殊等价字符串组 894. All Possible Full Binary Trees 所有可能的真二叉树 895. Maximum Frequency Stack 最大频率栈 896. Monotonic Array 单调数列 897. Increasing Order Search Tree 递增顺序搜索树 898. Bitwise ORs of Subarrays 子数组按位或操作 899. Orderly Queue 有序队列