1028 |
从先序遍历还原二叉树 - Recover a Tree From Preorder Traversal |
C# |
C++ |
Java |
Python |
Hard |
1027 |
最长等差数列 - Longest Arithmetic Sequence |
C# |
C++ |
Java |
Python |
Medium |
1026 |
节点与其祖先之间的最大差值 - Maximum Difference Between Node and Ancestor |
C# |
C++ |
Java |
Python |
Medium |
1025 |
除数博弈 - Divisor Game |
C# |
C++ |
Java |
Python |
Easy |
1024 |
视频拼接 - Video Stitching |
C# |
C++ |
Java |
Python |
Medium |
1023 |
驼峰式匹配 - Camelcase Matching |
C# |
C++ |
Java |
Python |
Medium |
1022 |
从根到叶的二进制数之和 - Sum of Root To Leaf Binary Numbers |
C# |
C++ |
Java |
Python |
Easy |
1021 |
删除最外层的括号 - Remove Outermost Parentheses |
C# |
C++ |
Java |
Python |
Easy |
1020 |
飞地的数量 - Number of Enclaves |
C# |
C++ |
Java |
Python |
Medium |
1019 |
链表中的下一个更大节点 - Next Greater Node In Linked List |
C# |
C++ |
Java |
Python |
Medium |
1018 |
可被 5 整除的二进制前缀 - Binary Prefix Divisible By 5 |
C# |
C++ |
Java |
Python |
Easy |
1017 |
负二进制转换 - Convert to Base -2 |
C# |
C++ |
Java |
Python |
Medium |
1016 |
子串能表示从 1 到 N 数字的二进制串 - Binary String With Substrings Representing 1 To N |
C# |
C++ |
Java |
Python |
Medium |
1015 |
可被 K 整除的最小整数 - Smallest Integer Divisible by K |
C# |
C++ |
Java |
Python |
Medium |
1014 |
最佳观光组合 - Best Sightseeing Pair |
C# |
C++ |
Java |
Python |
Medium |
1013 |
将数组分成和相等的三个部分 - Partition Array Into Three Parts With Equal Sum |
C# |
C++ |
Java |
Python |
Easy |
1012 |
至少有 1 位重复的数字 - Numbers With 1 Repeated Digit |
C# |
C++ |
Java |
Python |
Hard |
1011 |
在 D 天内送达包裹的能力 - Capacity To Ship Packages Within D Days |
C# |
C++ |
Java |
Python |
Medium |
1010 |
总持续时间可被 60 整除的歌曲 - Pairs of Songs With Total Durations Divisible by 60 |
C# |
C++ |
Java |
Python |
Easy |
1009 |
十进制整数的补码 - Complement of Base 10 Integer |
C# |
C++ |
Java |
Python |
Easy |
1008 |
先序遍历构造二叉树 - Construct Binary Search Tree from Preorder Traversal |
C# |
C++ |
Java |
Python |
Medium |
1007 |
行相等的最少多米诺旋转 - Minimum Domino Rotations For Equal Row |
C# |
C++ |
Java |
Python |
Medium |
1006 |
笨阶乘 - Clumsy Factorial |
C# |
C++ |
Java |
Python |
Medium |
1005 |
K 次取反后最大化的数组和 - Maximize Sum Of Array After K Negations |
C# |
C++ |
Java |
Python |
Easy |
1004 |
最大连续1的个数 III - Max Consecutive Ones III |
C# |
C++ |
Java |
Python |
Medium |
1003 |
检查替换后的词是否有效 - Check If Word Is Valid After Substitutions |
C# |
C++ |
Java |
Python |
Medium |
1002 |
查找常用字符 - Find Common Characters |
C# |
C++ |
Java |
Python |
Easy |
1001 |
网格照明 - Grid Illumination |
C# |
C++ |
Java |
Python |
Hard |
1000 |
合并石头的最低成本 - Minimum Cost to Merge Stones |
C# |
C++ |
Java |
Python |
Hard |
999 |
车的可用捕获量 - Available Captures for Rook |
C# |
C++ |
Java |
Python |
Easy |
998 |
最大二叉树 II - Maximum Binary Tree II |
C# |
C++ |
Java |
Python |
Medium |
997 |
找到小镇的法官 - Find the Town Judge |
C# |
C++ |
Java |
Python |
Easy |
996 |
正方形数组的数目 - Number of Squareful Arrays |
C# |
C++ |
Java |
Python |
Hard |
995 |
K 连续位的最小翻转次数 - Minimum Number of K Consecutive Bit Flips |
C# |
C++ |
Java |
Python |
Hard |
994 |
腐烂的橘子 - Rotting Oranges |
C# |
C++ |
Java |
Python |
Easy |
993 |
二叉树的堂兄弟节点 - Cousins in Binary Tree |
C# |
C++ |
Java |
Python |
Easy |
992 |
K 个不同整数的子数组 - Subarrays with K Different Integers |
C# |
C++ |
Java |
Python |
Hard |
991 |
坏了的计算器 - Broken Calculator |
C# |
C++ |
Java |
Python |
Medium |
990 |
等式方程的可满足性 - Satisfiability of Equality Equations |
C# |
C++ |
Java |
Python |
Medium |
989 |
数组形式的整数加法 - Add to Array-Form of Integer |
C# |
C++ |
Java |
Python |
Easy |
988 |
从叶结点开始的最小字符串 - Smallest String Starting From Leaf |
C# |
C++ |
Java |
Python |
Medium |
987 |
二叉树的垂序遍历 - Vertical Order Traversal of a Binary Tree |
C# |
C++ |
Java |
Python |
Medium |
986 |
区间列表的交集 - Interval List Intersections |
C# |
C++ |
Java |
Python |
Medium |
985 |
查询后的偶数和 - Sum of Even Numbers After Queries |
C# |
C++ |
Java |
Python |
Easy |
984 |
不含 AAA 或 BBB 的字符串 - String Without AAA or BBB |
C# |
C++ |
Java |
Python |
Medium |
983 |
最低票价 - Minimum Cost For Tickets |
C# |
C++ |
Java |
Python |
Medium |
982 |
按位与为零的三元组 - Triples with Bitwise AND Equal To Zero |
C# |
C++ |
Java |
Python |
Hard |
981 |
基于时间的键值存储 - Time Based Key-Value Store |
C# |
C++ |
Java |
Python |
Medium |
980 |
不同路径 III - Unique Paths III |
C# |
C++ |
Java |
Python |
Hard |
979 |
在二叉树中分配硬币 - Distribute Coins in Binary Tree |
C# |
C++ |
Java |
Python |
Medium |
978 |
最长湍流子数组 - Longest Turbulent Subarray |
C# |
C++ |
Java |
Python |
Medium |
977 |
有序数组的平方 - Squares of a Sorted Array |
C# |
C++ |
Java |
Python |
Easy |
976 |
三角形的最大周长 - Largest Perimeter Triangle |
C# |
C++ |
Java |
Python |
Easy |
975 |
奇偶跳 - Odd Even Jump |
C# |
C++ |
Java |
Python |
Hard |
974 |
和可被 K 整除的子数组 - Subarray Sums Divisible by K |
C# |
C++ |
Java |
Python |
Medium |
973 |
最接近原点的 K 个点 - K Closest Points to Origin |
C# |
C++ |
Java |
Python |
Medium |
972 |
相等的有理数 - Equal Rational Numbers |
C# |
C++ |
Java |
Python |
Hard |
971 |
翻转二叉树以匹配先序遍历 - Flip Binary Tree To Match Preorder Traversal |
C# |
C++ |
Java |
Python |
Medium |
970 |
强整数 - Powerful Integers |
C# |
C++ |
Java |
Python |
Easy |
969 |
煎饼排序 - Pancake Sorting |
C# |
C++ |
Java |
Python |
Medium |
968 |
监控二叉树 - Binary Tree Cameras |
C# |
C++ |
Java |
Python |
Hard |
967 |
连续差相同的数字 - Numbers With Same Consecutive Differences |
C# |
C++ |
Java |
Python |
Medium |
966 |
元音拼写检查器 - Vowel Spellchecker |
C# |
C++ |
Java |
Python |
Medium |
965 |
单值二叉树 - Univalued Binary Tree |
C# |
C++ |
Java |
Python |
Easy |
964 |
表示数字的最少运算符 - Least Operators to Express Number |
C# |
C++ |
Java |
Python |
Hard |
963 |
最小面积矩形 II - Minimum Area Rectangle II |
C# |
C++ |
Java |
Python |
Medium |
962 |
最大宽度坡 - Maximum Width Ramp |
C# |
C++ |
Java |
Python |
Medium |
961 |
重复 N 次的元素 - N-Repeated Element in Size 2N Array |
C# |
C++ |
Java |
Python |
Easy |
960 |
删列造序 III - Delete Columns to Make Sorted III |
C# |
C++ |
Java |
Python |
Hard |
959 |
由斜杠划分区域 - Regions Cut By Slashes |
C# |
C++ |
Java |
Python |
Medium |
958 |
二叉树的完全性检验 - Check Completeness of a Binary Tree |
C# |
C++ |
Java |
Python |
Medium |
957 |
N天后的牢房 - Prison Cells After N Days |
C# |
C++ |
Java |
Python |
Medium |
956 |
最高的广告牌 - Tallest Billboard |
C# |
C++ |
Java |
Python |
Hard |
955 |
删列造序 II - Delete Columns to Make Sorted II |
C# |
C++ |
Java |
Python |
Medium |
954 |
二倍数对数组 - Array of Doubled Pairs |
C# |
C++ |
Java |
Python |
Medium |
953 |
验证外星语词典 - Verifying an Alien Dictionary |
C# |
C++ |
Java |
Python |
Easy |
952 |
按公因数计算最大组件大小 - Largest Component Size by Common Factor |
C# |
C++ |
Java |
Python |
Hard |
951 |
翻转等价二叉树 - Flip Equivalent Binary Trees |
C# |
C++ |
Java |
Python |
Medium |
950 |
按递增顺序显示卡牌 - Reveal Cards In Increasing Order |
C# |
C++ |
Java |
Python |
Medium |
949 |
给定数字能组成的最大时间 - Largest Time for Given Digits |
C# |
C++ |
Java |
Python |
Easy |
948 |
令牌放置 - Bag of Tokens |
C# |
C++ |
Java |
Python |
Medium |
947 |
移除最多的同行或同列石头 - Most Stones Removed with Same Row or Column |
C# |
C++ |
Java |
Python |
Medium |
946 |
验证栈序列 - Validate Stack Sequences |
C# |
C++ |
Java |
Python |
Medium |
945 |
使数组唯一的最小增量 - Minimum Increment to Make Array Unique |
C# |
C++ |
Java |
Python |
Medium |
944 |
删除列以使之有序 - Delete Columns to Make Sorted |
C# |
C++ |
Java |
Python |
Easy |
943 |
最短超级串 - Find the Shortest Superstring |
C# |
C++ |
Java |
Python |
Hard |
942 |
增减字符串匹配 - DI String Match |
C# |
C++ |
Java |
Python |
Easy |
941 |
有效的山脉数组 - Valid Mountain Array |
C# |
C++ |
Java |
Python |
Easy |
940 |
不同的子序列 II - Distinct Subsequences II |
C# |
C++ |
Java |
Python |
Hard |
939 |
最小面积矩形 - Minimum Area Rectangle |
C# |
C++ |
Java |
Python |
Medium |
938 |
二叉搜索树的范围和 - Range Sum of BST |
C# |
C++ |
Java |
Python |
Medium |
937 |
重新排列日志文件 - Reorder Log Files |
C# |
C++ |
Java |
Python |
Easy |
936 |
戳印序列 - Stamping The Sequence |
C# |
C++ |
Java |
Python |
Hard |
935 |
骑士拨号器 - Knight Dialer |
C# |
C++ |
Java |
Python |
Medium |
934 |
最短的桥 - Shortest Bridge |
C# |
C++ |
Java |
Python |
Medium |
933 |
最近的请求次数 - Number of Recent Calls |
C# |
C++ |
Java |
Python |
Easy |
932 |
漂亮数组 - Beautiful Array |
C# |
C++ |
Java |
Python |
Medium |
931 |
下降路径最小和 - Minimum Falling Path Sum |
C# |
C++ |
Java |
Python |
Medium |
930 |
和相同的二元子数组 - Binary Subarrays With Sum |
C# |
C++ |
Java |
Python |
Medium |
929 |
独特的电子邮件地址 - Unique Email Addresses |
C# |
C++ |
Java |
Python |
Easy |
928 |
尽量减少恶意软件的传播 II - Minimize Malware Spread II |
C# |
C++ |
Java |
Python |
Hard |
927 |
三等分 - Three Equal Parts |
C# |
C++ |
Java |
Python |
Hard |
926 |
将字符串翻转到单调递增 - Flip String to Monotone Increasing |
C# |
C++ |
Java |
Python |
Medium |
925 |
长按键入 - Long Pressed Name |
C# |
C++ |
Java |
Python |
Easy |
924 |
尽量减少恶意软件的传播 - Minimize Malware Spread |
C# |
C++ |
Java |
Python |
Hard |
923 |
三数之和的多种可能 - 3Sum With Multiplicity |
C# |
C++ |
Java |
Python |
Medium |
922 |
按奇偶排序数组 II - Sort Array By Parity II |
C# |
C++ |
Java |
Python |
Easy |
921 |
使括号有效的最少添加 - Minimum Add to Make Parentheses Valid |
C# |
C++ |
Java |
Python |
Medium |
920 |
播放列表的数量 - Number of Music Playlists |
C# |
C++ |
Java |
Python |
Hard |
919 |
完全二叉树插入器 - Complete Binary Tree Inserter |
C# |
C++ |
Java |
Python |
Medium |
918 |
环形子数组的最大和 - Maximum Sum Circular Subarray |
C# |
C++ |
Java |
Python |
Medium |
917 |
仅仅反转字母 - Reverse Only Letters |
C# |
C++ |
Java |
Python |
Easy |
916 |
单词子集 - Word Subsets |
C# |
C++ |
Java |
Python |
Medium |
915 |
将分区数组分成不相交的间隔 - Partition Array into Disjoint Intervals |
C# |
C++ |
Java |
Python |
Medium |
914 |
一副牌中的X - X of a Kind in a Deck of Cards |
C# |
C++ |
Java |
Python |
Easy |
913 |
猫与老鼠 - Cat and Mouse |
C# |
C++ |
Java |
Python |
Hard |
912 |
|
C# |
C++ |
Java |
Python |
|
911 |
在线选举 - Online Election |
C# |
C++ |
Java |
Python |
Medium |
910 |
最小差值 II - Smallest Range II |
C# |
C++ |
Java |
Python |
Medium |
909 |
蛇梯棋 - Snakes and Ladders |
C# |
C++ |
Java |
Python |
Medium |
908 |
最小差值 I - Smallest Range I |
C# |
C++ |
Java |
Python |
Easy |
907 |
子数组的最小值之和 - Sum of Subarray Minimums |
C# |
C++ |
Java |
Python |
Medium |
906 |
超级回文数 - Super Palindromes |
C# |
C++ |
Java |
Python |
Hard |
905 |
按奇偶排序数组 - Sort Array By Parity |
C# |
C++ |
Java |
Python |
Easy |
904 |
水果成篮 - Fruit Into Baskets |
C# |
C++ |
Java |
Python |
Medium |
903 |
DI 序列的有效排列 - Valid Permutations for DI Sequence |
C# |
C++ |
Java |
Python |
Hard |
902 |
最大为 N 的数字组合 - Numbers At Most N Given Digit Set |
C# |
C++ |
Java |
Python |
Hard |
901 |
股票价格跨度 - Online Stock Span |
C# |
C++ |
Java |
Python |
Medium |
900 |
RLE 迭代器 - RLE Iterator |
C# |
C++ |
Java |
Python |
Medium |
899 |
有序队列 - Orderly Queue |
C# |
C++ |
Java |
Python |
Hard |
898 |
子数组按位或操作 - Bitwise ORs of Subarrays |
C# |
C++ |
Java |
Python |
Medium |
897 |
递增顺序查找树 - Increasing Order Search Tree |
C# |
C++ |
Java |
Python |
Easy |
896 |
单调数列 - Monotonic Array |
C# |
C++ |
Java |
Python |
Easy |
895 |
最大频率栈 - Maximum Frequency Stack |
C# |
C++ |
Java |
Python |
Hard |
894 |
所有可能的满二叉树 - All Possible Full Binary Trees |
C# |
C++ |
Java |
Python |
Medium |
893 |
特殊等价字符串组 - Groups of Special-Equivalent Strings |
C# |
C++ |
Java |
Python |
Easy |
892 |
三维形体的表面积 - Surface Area of 3D Shapes |
C# |
C++ |
Java |
Python |
Easy |
891 |
子序列宽度之和 - Sum of Subsequence Widths |
C# |
C++ |
Java |
Python |
Hard |
890 |
查找和替换模式 - Find and Replace Pattern |
C# |
C++ |
Java |
Python |
Medium |
889 |
根据前序和后序遍历构造二叉树 - Construct Binary Tree from Preorder and Postorder Traversal |
C# |
C++ |
Java |
Python |
Medium |
888 |
公平的糖果交换 - Fair Candy Swap |
C# |
C++ |
Java |
Python |
Easy |
887 |
鸡蛋掉落 - Super Egg Drop |
C# |
C++ |
Java |
Python |
Hard |
886 |
可能的二分法 - Possible Bipartition |
C# |
C++ |
Java |
Python |
Medium |
885 |
螺旋矩阵 III - Spiral Matrix III |
C# |
C++ |
Java |
Python |
Medium |
884 |
两句话中的不常见单词 - Uncommon Words from Two Sentences |
C# |
C++ |
Java |
Python |
Easy |
883 |
三维形体投影面积 - Projection Area of 3D Shapes |
C# |
C++ |
Java |
Python |
Easy |
882 |
细分图中的可到达结点 - Reachable Nodes In Subdivided Graph |
C# |
C++ |
Java |
Python |
Hard |
881 |
救生艇 - Boats to Save People |
C# |
C++ |
Java |
Python |
Medium |
880 |
索引处的解码字符串 - Decoded String at Index |
C# |
C++ |
Java |
Python |
Medium |
879 |
盈利计划 - Profitable Schemes |
C# |
C++ |
Java |
Python |
Hard |
878 |
第 N 个神奇数字 - Nth Magical Number |
C# |
C++ |
Java |
Python |
Hard |
877 |
石子游戏 - Stone Game |
C# |
C++ |
Java |
Python |
Medium |
876 |
链表的中间结点 - Middle of the Linked List |
C# |
C++ |
Java |
Python |
Easy |
875 |
爱吃香蕉的珂珂 - Koko Eating Bananas |
C# |
C++ |
Java |
Python |
Medium |
874 |
模拟行走机器人 - Walking Robot Simulation |
C# |
C++ |
Java |
Python |
Easy |
873 |
最长的斐波那契子序列的长度 - Length of Longest Fibonacci Subsequence |
C# |
C++ |
Java |
Python |
Medium |
872 |
叶子相似的树 - Leaf-Similar Trees |
C# |
C++ |
Java |
Python |
Easy |
871 |
最低加油次数 - Minimum Number of Refueling Stops |
C# |
C++ |
Java |
Python |
Hard |
870 |
优势洗牌 - Advantage Shuffle |
C# |
C++ |
Java |
Python |
Medium |
869 |
重新排序得到 2 的幂 - Reordered Power of 2 |
C# |
C++ |
Java |
Python |
Medium |
868 |
二进制间距 - Binary Gap |
C# |
C++ |
Java |
Python |
Easy |
867 |
转置矩阵 - Transpose Matrix |
C# |
C++ |
Java |
Python |
Easy |
866 |
回文素数 - Prime Palindrome |
C# |
C++ |
Java |
Python |
Medium |
865 |
具有所有最深结点的最小子树 - Smallest Subtree with all the Deepest Nodes |
C# |
C++ |
Java |
Python |
Medium |
864 |
获取所有钥匙的最短路径 - Shortest Path to Get All Keys |
C# |
C++ |
Java |
Python |
Hard |
863 |
二叉树中所有距离为 K 的结点 - All Nodes Distance K in Binary Tree |
C# |
C++ |
Java |
Python |
Medium |
862 |
和至少为 K 的最短子数组 - Shortest Subarray with Sum at Least K |
C# |
C++ |
Java |
Python |
Hard |
861 |
翻转矩阵后的得分 - Score After Flipping Matrix |
C# |
C++ |
Java |
Python |
Medium |
860 |
柠檬水找零 - Lemonade Change |
C# |
C++ |
Java |
Python |
Easy |
859 |
亲密字符串 - Buddy Strings |
C# |
C++ |
Java |
Python |
Easy |
858 |
镜面反射 - Mirror Reflection |
C# |
C++ |
Java |
Python |
Medium |
857 |
雇佣 K 名工人的最低成本 - Minimum Cost to Hire K Workers |
C# |
C++ |
Java |
Python |
Hard |
856 |
括号的分数 - Score of Parentheses |
C# |
C++ |
Java |
Python |
Medium |
855 |
考场就座 - Exam Room |
C# |
C++ |
Java |
Python |
Medium |
854 |
相似度为 K 的字符串 - K-Similar Strings |
C# |
C++ |
Java |
Python |
Hard |
853 |
车队 - Car Fleet |
C# |
C++ |
Java |
Python |
Medium |
852 |
山脉数组的峰顶索引 - Peak Index in a Mountain Array |
C# |
C++ |
Java |
Python |
Easy |
851 |
喧闹和富有 - Loud and Rich |
C# |
C++ |
Java |
Python |
Medium |
850 |
矩形面积 II - Rectangle Area II |
C# |
C++ |
Java |
Python |
Hard |
849 |
到最近的人的最大距离 - Maximize Distance to Closest Person |
C# |
C++ |
Java |
Python |
Easy |
848 |
字母移位 - Shifting Letters |
C# |
C++ |
Java |
Python |
Medium |
847 |
访问所有节点的最短路径 - Shortest Path Visiting All Nodes |
C# |
C++ |
Java |
Python |
Hard |
846 |
一手顺子 - Hand of Straights |
C# |
C++ |
Java |
Python |
Medium |
845 |
数组中的最长山脉 - Longest Mountain in Array |
C# |
C++ |
Java |
Python |
Medium |
844 |
比较含退格的字符串 - Backspace String Compare |
C# |
C++ |
Java |
Python |
Easy |
843 |
猜猜这个单词 - Guess the Word |
C# |
C++ |
Java |
Python |
Hard |
842 |
将数组拆分成斐波那契序列 - Split Array into Fibonacci Sequence |
C# |
C++ |
Java |
Python |
Medium |
841 |
钥匙和房间 - Keys and Rooms |
C# |
C++ |
Java |
Python |
Medium |
840 |
矩阵中的幻方 - Magic Squares In Grid |
C# |
C++ |
Java |
Python |
Easy |
839 |
相似字符串组 - Similar String Groups |
C# |
C++ |
Java |
Python |
Hard |
838 |
推多米诺 - Push Dominoes |
C# |
C++ |
Java |
Python |
Medium |
837 |
新21点 - New 21 Game |
C# |
C++ |
Java |
Python |
Medium |
836 |
矩形重叠 - Rectangle Overlap |
C# |
C++ |
Java |
Python |
Easy |
835 |
图像重叠 - Image Overlap |
C# |
C++ |
Java |
Python |
Medium |
834 |
树中距离之和 - Sum of Distances in Tree |
C# |
C++ |
Java |
Python |
Hard |
833 |
字符串中的查找与替换 - Find And Replace in String |
C# |
C++ |
Java |
Python |
Medium |
832 |
翻转图像 - Flipping an Image |
C# |
C++ |
Java |
Python |
Easy |
831 |
隐藏个人信息 - Masking Personal Information |
C# |
C++ |
Java |
Python |
Medium |
830 |
较大分组的位置 - Positions of Large Groups |
C# |
C++ |
Java |
Python |
Easy |
829 |
连续整数求和 - Consecutive Numbers Sum |
C# |
C++ |
Java |
Python |
Hard |
828 |
独特字符串 - Unique Letter String |
C# |
C++ |
Java |
Python |
Hard |
827 |
最大人工岛 - Making A Large Island |
C# |
C++ |
Java |
Python |
Hard |
826 |
安排工作以达到最大收益 - Most Profit Assigning Work |
C# |
C++ |
Java |
Python |
Medium |
825 |
适龄的朋友 - Friends Of Appropriate Ages |
C# |
C++ |
Java |
Python |
Medium |
824 |
山羊拉丁文 - Goat Latin |
C# |
C++ |
Java |
Python |
Easy |
823 |
带因子的二叉树 - Binary Trees With Factors |
C# |
C++ |
Java |
Python |
Medium |
822 |
翻转卡片游戏 - Card Flipping Game |
C# |
C++ |
Java |
Python |
Medium |
821 |
字符的最短距离 - Shortest Distance to a Character |
C# |
C++ |
Java |
Python |
Easy |
820 |
单词的压缩编码 - Short Encoding of Words |
C# |
C++ |
Java |
Python |
Medium |
819 |
最常见的单词 - Most Common Word |
C# |
C++ |
Java |
Python |
Easy |
818 |
赛车 - Race Car |
C# |
C++ |
Java |
Python |
Hard |
817 |
链表组件 - Linked List Components |
C# |
C++ |
Java |
Python |
Medium |
816 |
模糊坐标 - Ambiguous Coordinates |
C# |
C++ |
Java |
Python |
Medium |
815 |
公交路线 - Bus Routes |
C# |
C++ |
Java |
Python |
Hard |
814 |
二叉树剪枝 - Binary Tree Pruning |
C# |
C++ |
Java |
Python |
Medium |
813 |
最大平均值和的分组 - Largest Sum of Averages |
C# |
C++ |
Java |
Python |
Medium |
812 |
最大三角形面积 - Largest Triangle Area |
C# |
C++ |
Java |
Python |
Easy |
811 |
子域名访问计数 - Subdomain Visit Count |
C# |
C++ |
Java |
Python |
Easy |
810 |
黑板异或游戏 - Chalkboard XOR Game |
C# |
C++ |
Java |
Python |
Hard |
809 |
情感丰富的文字 - Expressive Words |
C# |
C++ |
Java |
Python |
Medium |
808 |
分汤 - Soup Servings |
C# |
C++ |
Java |
Python |
Medium |
807 |
保持城市天际线 - Max Increase to Keep City Skyline |
C# |
C++ |
Java |
Python |
Medium |
806 |
写字符串需要的行数 - Number of Lines To Write String |
C# |
C++ |
Java |
Python |
Easy |
805 |
数组的均值分割 - Split Array With Same Average |
C# |
C++ |
Java |
Python |
Hard |
804 |
唯一摩尔斯密码词 - Unique Morse Code Words |
C# |
C++ |
Java |
Python |
Easy |
803 |
打砖块 - Bricks Falling When Hit |
C# |
C++ |
Java |
Python |
Hard |
802 |
找到最终的安全状态 - Find Eventual Safe States |
C# |
C++ |
Java |
Python |
Medium |
801 |
使序列递增的最小交换次数 - Minimum Swaps To Make Sequences Increasing |
C# |
C++ |
Java |
Python |
Medium |
800 |
|
C# |
C++ |
Java |
Python |
Easy |
799 |
香槟塔 - Champagne Tower |
C# |
C++ |
Java |
Python |
Medium |
798 |
得分最高的最小轮调 - Smallest Rotation with Highest Score |
C# |
C++ |
Java |
Python |
Hard |
797 |
所有可能的路径 - All Paths From Source to Target |
C# |
C++ |
Java |
Python |
Medium |
796 |
旋转字符串 - Rotate String |
C# |
C++ |
Java |
Python |
Easy |
795 |
区间子数组个数 - Number of Subarrays with Bounded Maximum |
C# |
C++ |
Java |
Python |
Medium |
794 |
有效的井字游戏 - Valid Tic-Tac-Toe State |
C# |
C++ |
Java |
Python |
Medium |
793 |
阶乘函数后K个零 - Preimage Size of Factorial Zeroes Function |
C# |
C++ |
Java |
Python |
Hard |
792 |
匹配子序列的单词数 - Number of Matching Subsequences |
C# |
C++ |
Java |
Python |
Medium |
791 |
自定义字符串排序 - Custom Sort String |
C# |
C++ |
Java |
Python |
Medium |
790 |
多米诺和托米诺平铺 - Domino and Tromino Tiling |
C# |
C++ |
Java |
Python |
Medium |
789 |
逃脱阻碍者 - Escape The Ghosts |
C# |
C++ |
Java |
Python |
Medium |
788 |
旋转数字 - Rotated Digits |
C# |
C++ |
Java |
Python |
Easy |
787 |
K 站中转内最便宜的航班 - Cheapest Flights Within K Stops |
C# |
C++ |
Java |
Python |
Medium |
786 |
第 K 个最小的素数分数 - K-th Smallest Prime Fraction |
C# |
C++ |
Java |
Python |
Hard |
785 |
判断二分图 - Is Graph Bipartite? |
C# |
C++ |
Java |
Python |
Medium |
784 |
字母大小写全排列 - Letter Case Permutation |
C# |
C++ |
Java |
Python |
Easy |
783 |
二叉搜索树结点最小距离 - Minimum Distance Between BST Nodes |
C# |
C++ |
Java |
Python |
Easy |
782 |
变为棋盘 - Transform to Chessboard |
C# |
C++ |
Java |
Python |
Hard |
781 |
森林中的兔子 - Rabbits in Forest |
C# |
C++ |
Java |
Python |
Medium |
780 |
到达终点 - Reaching Points |
C# |
C++ |
Java |
Python |
Hard |
779 |
第K个语法符号 - K-th Symbol in Grammar |
C# |
C++ |
Java |
Python |
Medium |
778 |
水位上升的泳池中游泳 - Swim in Rising Water |
C# |
C++ |
Java |
Python |
Hard |
777 |
在LR字符串中交换相邻字符 - Swap Adjacent in LR String |
C# |
C++ |
Java |
Python |
Medium |
776 |
|
C# |
C++ |
Java |
Python |
Medium |
775 |
全局倒置与局部倒置 - Global and Local Inversions |
C# |
C++ |
Java |
Python |
Medium |
774 |
|
C# |
C++ |
Java |
Python |
Hard |
773 |
滑动谜题 - Sliding Puzzle |
C# |
C++ |
Java |
Python |
Hard |
772 |
|
C# |
C++ |
Java |
Python |
Hard |
771 |
宝石与石头 - Jewels and Stones |
C# |
C++ |
Java |
Python |
Easy |
770 |
基本计算器 IV - Basic Calculator IV |
C# |
C++ |
Java |
Python |
Hard |
769 |
最多能完成排序的块 - Max Chunks To Make Sorted |
C# |
C++ |
Java |
Python |
Medium |
768 |
最多能完成排序的块 II - Max Chunks To Make Sorted II |
C# |
C++ |
Java |
Python |
Hard |
767 |
重构字符串 - Reorganize String |
C# |
C++ |
Java |
Python |
Medium |
766 |
托普利茨矩阵 - Toeplitz Matrix |
C# |
C++ |
Java |
Python |
Easy |
765 |
情侣牵手 - Couples Holding Hands |
C# |
C++ |
Java |
Python |
Hard |
764 |
最大加号标志 - Largest Plus Sign |
C# |
C++ |
Java |
Python |
Medium |
763 |
划分字母区间 - Partition Labels |
C# |
C++ |
Java |
Python |
Medium |
762 |
二进制表示中质数个计算置位 - Prime Number of Set Bits in Binary Representation |
C# |
C++ |
Java |
Python |
Easy |
761 |
特殊的二进制序列 - Special Binary String |
C# |
C++ |
Java |
Python |
Hard |
760 |
|
C# |
C++ |
Java |
Python |
Easy |
759 |
|
C# |
C++ |
Java |
Python |
Hard |
758 |
|
C# |
C++ |
Java |
Python |
Easy |
757 |
设置交集大小至少为2 - Set Intersection Size At Least Two |
C# |
C++ |
Java |
Python |
Hard |
756 |
金字塔转换矩阵 - Pyramid Transition Matrix |
C# |
C++ |
Java |
Python |
Medium |
755 |
|
C# |
C++ |
Java |
Python |
Medium |
754 |
到达终点数字 - Reach a Number |
C# |
C++ |
Java |
Python |
Easy |
753 |
破解保险箱 - Cracking the Safe |
C# |
C++ |
Java |
Python |
Hard |
752 |
打开转盘锁 - Open the Lock |
C# |
C++ |
Java |
Python |
Medium |
751 |
|
C# |
C++ |
Java |
Python |
Easy |
750 |
|
C# |
C++ |
Java |
Python |
Medium |
749 |
隔离病毒 - Contain Virus |
C# |
C++ |
Java |
Python |
Hard |
748 |
最短完整词 - Shortest Completing Word |
C# |
C++ |
Java |
Python |
Easy |
747 |
至少是其他数字两倍的最大数 - Largest Number At Least Twice of Others |
C# |
C++ |
Java |
Python |
Easy |
746 |
使用最小花费爬楼梯 - Min Cost Climbing Stairs |
C# |
C++ |
Java |
Python |
Easy |
745 |
前缀和后缀搜索 - Prefix and Suffix Search |
C# |
C++ |
Java |
Python |
Hard |
744 |
寻找比目标字母大的最小字母 - Find Smallest Letter Greater Than Target |
C# |
C++ |
Java |
Python |
Easy |
743 |
网络延迟时间 - Network Delay Time |
C# |
C++ |
Java |
Python |
Medium |
742 |
|
C# |
C++ |
Java |
Python |
Medium |
741 |
摘樱桃 - Cherry Pickup |
C# |
C++ |
Java |
Python |
Hard |
740 |
删除与获得点数 - Delete and Earn |
C# |
C++ |
Java |
Python |
Medium |
739 |
每日温度 - Daily Temperatures |
C# |
C++ |
Java |
Python |
Medium |
738 |
单调递增的数字 - Monotone Increasing Digits |
C# |
C++ |
Java |
Python |
Medium |
737 |
|
C# |
C++ |
Java |
Python |
Medium |
736 |
Lisp 语法解析 - Parse Lisp Expression |
C# |
C++ |
Java |
Python |
Medium |
735 |
行星碰撞 - Asteroid Collision |
C# |
C++ |
Java |
Python |
Medium |
734 |
|
C# |
C++ |
Java |
Python |
Easy |
733 |
图像渲染 - Flood Fill |
C# |
C++ |
Java |
Python |
Easy |
732 |
我的日程安排表 III - My Calendar III |
C# |
C++ |
Java |
Python |
Hard |
731 |
我的日程安排表 II - My Calendar II |
C# |
C++ |
Java |
Python |
Medium |
730 |
统计不同回文子字符串 - Count Different Palindromic Subsequences |
C# |
C++ |
Java |
Python |
Hard |
729 |
我的日程安排表 I - My Calendar I |
C# |
C++ |
Java |
Python |
Medium |
728 |
自除数 - Self Dividing Numbers |
C# |
C++ |
Java |
Python |
Easy |
727 |
|
C# |
C++ |
Java |
Python |
Hard |
726 |
原子的数量 - Number of Atoms |
C# |
C++ |
Java |
Python |
Hard |
725 |
分隔链表 - Split Linked List in Parts |
C# |
C++ |
Java |
Python |
Medium |
724 |
寻找数组的中心索引 - Find Pivot Index |
C# |
C++ |
Java |
Python |
Easy |
723 |
|
C# |
C++ |
Java |
Python |
Medium |
722 |
删除注释 - Remove Comments |
C# |
C++ |
Java |
Python |
Medium |
721 |
账户合并 - Accounts Merge |
C# |
C++ |
Java |
Python |
Medium |
720 |
词典中最长的单词 - Longest Word in Dictionary |
C# |
C++ |
Java |
Python |
Easy |
719 |
找出第 k 小的距离对 - Find K-th Smallest Pair Distance |
C# |
C++ |
Java |
Python |
Hard |
718 |
最长重复子数组 - Maximum Length of Repeated Subarray |
C# |
C++ |
Java |
Python |
Medium |
717 |
1比特与2比特字符 - 1-bit and 2-bit Characters |
C# |
C++ |
Java |
Python |
Easy |
716 |
|
C# |
C++ |
Java |
Python |
Easy |
715 |
Range 模块 - Range Module |
C# |
C++ |
Java |
Python |
Hard |
714 |
买卖股票的最佳时机含手续费 - Best Time to Buy and Sell Stock with Transaction Fee |
C# |
C++ |
Java |
Python |
Medium |
713 |
乘积小于K的子数组 - Subarray Product Less Than K |
C# |
C++ |
Java |
Python |
Medium |
712 |
两个字符串的最小ASCII删除和 - Minimum ASCII Delete Sum for Two Strings |
C# |
C++ |
Java |
Python |
Medium |
711 |
|
C# |
C++ |
Java |
Python |
Hard |
710 |
黑名单中的随机数 - Random Pick with Blacklist |
C# |
C++ |
Java |
Python |
Hard |
709 |
转换成小写字母 - To Lower Case |
C# |
C++ |
Java |
Python |
Easy |
708 |
|
C# |
C++ |
Java |
Python |
Medium |
707 |
设计链表 - Design Linked List |
C# |
C++ |
Java |
Python |
Easy |
706 |
设计哈希映射 - Design HashMap |
C# |
C++ |
Java |
Python |
Easy |
705 |
设计哈希集合 - Design HashSet |
C# |
C++ |
Java |
Python |
Easy |
704 |
二分查找 - Binary Search |
C# |
C++ |
Java |
Python |
Easy |
703 |
数据流中的第K大元素 - Kth Largest Element in a Stream |
C# |
C++ |
Java |
Python |
Easy |
702 |
|
C# |
C++ |
Java |
Python |
Medium |
701 |
二叉搜索树中的插入操作 - Insert into a Binary Search Tree |
C# |
C++ |
Java |
Python |
Medium |
700 |
二叉搜索树中的搜索 - Search in a Binary Search Tree |
C# |
C++ |
Java |
Python |
Easy |
699 |
掉落的方块 - Falling Squares |
C# |
C++ |
Java |
Python |
Hard |
698 |
划分为k个相等的子集 - Partition to K Equal Sum Subsets |
C# |
C++ |
Java |
Python |
Medium |
697 |
数组的度 - Degree of an Array |
C# |
C++ |
Java |
Python |
Easy |
696 |
计数二进制子串 - Count Binary Substrings |
C# |
C++ |
Java |
Python |
Easy |
695 |
岛屿的最大面积 - Max Area of Island |
C# |
C++ |
Java |
Python |
Medium |
694 |
|
C# |
C++ |
Java |
Python |
Medium |
693 |
交替位二进制数 - Binary Number with Alternating Bits |
C# |
C++ |
Java |
Python |
Easy |
692 |
前K个高频单词 - Top K Frequent Words |
C# |
C++ |
Java |
Python |
Medium |
691 |
贴纸拼词 - Stickers to Spell Word |
C# |
C++ |
Java |
Python |
Hard |
690 |
员工的重要性 - Employee Importance |
C# |
C++ |
Java |
Python |
Easy |
689 |
三个无重叠子数组的最大和 - Maximum Sum of 3 Non-Overlapping Subarrays |
C# |
C++ |
Java |
Python |
Hard |
688 |
“马”在棋盘上的概率 - Knight Probability in Chessboard |
C# |
C++ |
Java |
Python |
Medium |
687 |
最长同值路径 - Longest Univalue Path |
C# |
C++ |
Java |
Python |
Easy |
686 |
重复叠加字符串匹配 - Repeated String Match |
C# |
C++ |
Java |
Python |
Easy |
685 |
冗余连接 II - Redundant Connection II |
C# |
C++ |
Java |
Python |
Hard |
684 |
冗余连接 - Redundant Connection |
C# |
C++ |
Java |
Python |
Medium |
683 |
|
C# |
C++ |
Java |
Python |
Hard |
682 |
棒球比赛 - Baseball Game |
C# |
C++ |
Java |
Python |
Easy |
681 |
|
C# |
C++ |
Java |
Python |
Medium |
680 |
验证回文字符串 Ⅱ - Valid Palindrome II |
C# |
C++ |
Java |
Python |
Easy |
679 |
24点游戏 - 24 Game |
C# |
C++ |
Java |
Python |
Medium |
678 |
有效的括号字符串 - Valid Parenthesis String |
C# |
C++ |
Java |
Python |
Medium |
677 |
键值映射 - Map Sum Pairs |
C# |
C++ |
Java |
Python |
Medium |
676 |
实现一个魔法字典 - Implement Magic Dictionary |
C# |
C++ |
Java |
Python |
Medium |
675 |
为高尔夫比赛砍树 - Cut Off Trees for Golf Event |
C# |
C++ |
Java |
Python |
Hard |
674 |
最长连续递增序列 - Longest Continuous Increasing Subsequence |
C# |
C++ |
Java |
Python |
Easy |
673 |
最长递增子序列的个数 - Number of Longest Increasing Subsequence |
C# |
C++ |
Java |
Python |
Medium |
672 |
灯泡开关 Ⅱ - Bulb Switcher II |
C# |
C++ |
Java |
Python |
Medium |
671 |
二叉树中第二小的节点 - Second Minimum Node In a Binary Tree |
C# |
C++ |
Java |
Python |
Easy |
670 |
最大交换 - Maximum Swap |
C# |
C++ |
Java |
Python |
Medium |
669 |
修剪二叉搜索树 - Trim a Binary Search Tree |
C# |
C++ |
Java |
Python |
Easy |
668 |
乘法表中第k小的数 - Kth Smallest Number in Multiplication Table |
C# |
C++ |
Java |
Python |
Hard |
667 |
优美的排列 II - Beautiful Arrangement II |
C# |
C++ |
Java |
Python |
Medium |
666 |
|
C# |
C++ |
Java |
Python |
Medium |
665 |
非递减数列 - Non-decreasing Array |
C# |
C++ |
Java |
Python |
Medium |
664 |
奇怪的打印机 - Strange Printer |
C# |
C++ |
Java |
Python |
Medium |
663 |
|
C# |
C++ |
Java |
Python |
Medium |
662 |
二叉树最大宽度 - Maximum Width of Binary Tree |
C# |
C++ |
Java |
Python |
Medium |
661 |
图片平滑器 - Image Smoother |
C# |
C++ |
Java |
Python |
Easy |
660 |
|
C# |
C++ |
Java |
Python |
Hard |
659 |
分割数组为连续子序列 - Split Array into Consecutive Subsequences |
C# |
C++ |
Java |
Python |
Medium |
658 |
找到 K 个最接近的元素 - Find K Closest Elements |
C# |
C++ |
Java |
Python |
Medium |
657 |
机器人能否返回原点 - Robot Return to Origin |
C# |
C++ |
Java |
Python |
Easy |
656 |
|
C# |
C++ |
Java |
Python |
Hard |
655 |
输出二叉树 - Print Binary Tree |
C# |
C++ |
Java |
Python |
Medium |
654 |
最大二叉树 - Maximum Binary Tree |
C# |
C++ |
Java |
Python |
Medium |
653 |
两数之和 IV - 输入 BST - Two Sum IV - Input is a BST |
C# |
C++ |
Java |
Python |
Easy |
652 |
寻找重复的子树 - Find Duplicate Subtrees |
C# |
C++ |
Java |
Python |
Medium |
651 |
|
C# |
C++ |
Java |
Python |
Medium |
650 |
只有两个键的键盘 - 2 Keys Keyboard |
C# |
C++ |
Java |
Python |
Medium |
649 |
Dota2 参议院 - Dota2 Senate |
C# |
C++ |
Java |
Python |
Medium |
648 |
单词替换 - Replace Words |
C# |
C++ |
Java |
Python |
Medium |
647 |
回文子串 - Palindromic Substrings |
C# |
C++ |
Java |
Python |
Medium |
646 |
最长数对链 - Maximum Length of Pair Chain |
C# |
C++ |
Java |
Python |
Medium |
645 |
错误的集合 - Set Mismatch |
C# |
C++ |
Java |
Python |
Easy |
644 |
|
C# |
C++ |
Java |
Python |
Hard |
643 |
子数组最大平均数 I - Maximum Average Subarray I |
C# |
C++ |
Java |
Python |
Easy |
642 |
|
C# |
C++ |
Java |
Python |
Hard |
641 |
设计循环双端队列 - Design Circular Deque |
C# |
C++ |
Java |
Python |
Medium |
640 |
求解方程 - Solve the Equation |
C# |
C++ |
Java |
Python |
Medium |
639 |
解码方法 2 - Decode Ways II |
C# |
C++ |
Java |
Python |
Hard |
638 |
大礼包 - Shopping Offers |
C# |
C++ |
Java |
Python |
Medium |
637 |
二叉树的层平均值 - Average of Levels in Binary Tree |
C# |
C++ |
Java |
Python |
Easy |
636 |
函数的独占时间 - Exclusive Time of Functions |
C# |
C++ |
Java |
Python |
Medium |
635 |
|
C# |
C++ |
Java |
Python |
Medium |
634 |
|
C# |
C++ |
Java |
Python |
Medium |
633 |
平方数之和 - Sum of Square Numbers |
C# |
C++ |
Java |
Python |
Easy |
632 |
最小区间 - Smallest Range |
C# |
C++ |
Java |
Python |
Hard |
631 |
|
C# |
C++ |
Java |
Python |
Hard |
630 |
课程表 III - Course Schedule III |
C# |
C++ |
Java |
Python |
Hard |
629 |
K个逆序对数组 - K Inverse Pairs Array |
C# |
C++ |
Java |
Python |
Hard |
628 |
三个数的最大乘积 - Maximum Product of Three Numbers |
C# |
C++ |
Java |
Python |
Easy |
627 |
交换工资 - Swap Salary |
C# |
C++ |
Java |
Python |
Easy |
626 |
换座位 - Exchange Seats |
C# |
C++ |
Java |
Python |
Medium |
625 |
|
C# |
C++ |
Java |
Python |
Medium |
624 |
|
C# |
C++ |
Java |
Python |
Easy |
623 |
在二叉树中增加一行 - Add One Row to Tree |
C# |
C++ |
Java |
Python |
Medium |
622 |
设计循环队列 - Design Circular Queue |
C# |
C++ |
Java |
Python |
Medium |
621 |
任务调度器 - Task Scheduler |
C# |
C++ |
Java |
Python |
Medium |
620 |
有趣的电影 - Not Boring Movies |
C# |
C++ |
Java |
Python |
Easy |
619 |
|
C# |
C++ |
Java |
Python |
Easy |
618 |
|
C# |
C++ |
Java |
Python |
Hard |
617 |
合并二叉树 - Merge Two Binary Trees |
C# |
C++ |
Java |
Python |
Easy |
616 |
|
C# |
C++ |
Java |
Python |
Medium |
615 |
|
C# |
C++ |
Java |
Python |
Hard |
614 |
|
C# |
C++ |
Java |
Python |
Medium |
613 |
|
C# |
C++ |
Java |
Python |
Easy |
612 |
|
C# |
C++ |
Java |
Python |
Medium |
611 |
有效三角形的个数 - Valid Triangle Number |
C# |
C++ |
Java |
Python |
Medium |
610 |
|
C# |
C++ |
Java |
Python |
Easy |
609 |
在系统中查找重复文件 - Find Duplicate File in System |
C# |
C++ |
Java |
Python |
Medium |
608 |
|
C# |
C++ |
Java |
Python |
Medium |
607 |
|
C# |
C++ |
Java |
Python |
Easy |
606 |
根据二叉树创建字符串 - Construct String from Binary Tree |
C# |
C++ |
Java |
Python |
Easy |
605 |
种花问题 - Can Place Flowers |
C# |
C++ |
Java |
Python |
Easy |
604 |
|
C# |
C++ |
Java |
Python |
Easy |
603 |
|
C# |
C++ |
Java |
Python |
Easy |
602 |
|
C# |
C++ |
Java |
Python |
Medium |
601 |
体育馆的人流量 - Human Traffic of Stadium |
C# |
C++ |
Java |
Python |
Hard |
600 |
不含连续1的非负整数 - Non-negative Integers without Consecutive Ones |
C# |
C++ |
Java |
Python |
Hard |
599 |
两个列表的最小索引总和 - Minimum Index Sum of Two Lists |
C# |
C++ |
Java |
Python |
Easy |
598 |
范围求和 II - Range Addition II |
C# |
C++ |
Java |
Python |
Easy |
597 |
|
C# |
C++ |
Java |
Python |
Easy |
596 |
超过5名学生的课 - Classes More Than 5 Students |
C# |
C++ |
Java |
Python |
Easy |
595 |
大的国家 - Big Countries |
C# |
C++ |
Java |
Python |
Easy |
594 |
最长和谐子序列 - Longest Harmonious Subsequence |
C# |
C++ |
Java |
Python |
Easy |
593 |
有效的正方形 - Valid Square |
C# |
C++ |
Java |
Python |
Medium |
592 |
分数加减运算 - Fraction Addition and Subtraction |
C# |
C++ |
Java |
Python |
Medium |
591 |
标签验证器 - Tag Validator |
C# |
C++ |
Java |
Python |
Hard |
590 |
|
C# |
C++ |
Java |
Python |
Easy |
589 |
|
C# |
C++ |
Java |
Python |
Easy |
588 |
|
C# |
C++ |
Java |
Python |
Hard |
587 |
安装栅栏 - Erect the Fence |
C# |
C++ |
Java |
Python |
Hard |
586 |
|
C# |
C++ |
Java |
Python |
Easy |
585 |
|
C# |
C++ |
Java |
Python |
Medium |
584 |
|
C# |
C++ |
Java |
Python |
Easy |
583 |
两个字符串的删除操作 - Delete Operation for Two Strings |
C# |
C++ |
Java |
Python |
Medium |
582 |
|
C# |
C++ |
Java |
Python |
Medium |
581 |
最短无序连续子数组 - Shortest Unsorted Continuous Subarray |
C# |
C++ |
Java |
Python |
Easy |
580 |
|
C# |
C++ |
Java |
Python |
Medium |
579 |
|
C# |
C++ |
Java |
Python |
Hard |
578 |
|
C# |
C++ |
Java |
Python |
Medium |
577 |
员工奖金 - Employee Bonus |
C# |
C++ |
Java |
Python |
Easy |
576 |
出界的路径数 - Out of Boundary Paths |
C# |
C++ |
Java |
Python |
Medium |
575 |
分糖果 - Distribute Candies |
C# |
C++ |
Java |
Python |
Easy |
574 |
|
C# |
C++ |
Java |
Python |
Medium |
573 |
|
C# |
C++ |
Java |
Python |
Medium |
572 |
另一个树的子树 - Subtree of Another Tree |
C# |
C++ |
Java |
Python |
Easy |
571 |
|
C# |
C++ |
Java |
Python |
Hard |
570 |
|
C# |
C++ |
Java |
Python |
Medium |
569 |
|
C# |
C++ |
Java |
Python |
Hard |
568 |
|
C# |
C++ |
Java |
Python |
Hard |
567 |
字符串的排列 - Permutation in String |
C# |
C++ |
Java |
Python |
Medium |
566 |
重塑矩阵 - Reshape the Matrix |
C# |
C++ |
Java |
Python |
Easy |
565 |
数组嵌套 - Array Nesting |
C# |
C++ |
Java |
Python |
Medium |
564 |
寻找最近的回文数 - Find the Closest Palindrome |
C# |
C++ |
Java |
Python |
Hard |
563 |
二叉树的坡度 - Binary Tree Tilt |
C# |
C++ |
Java |
Python |
Easy |
562 |
|
C# |
C++ |
Java |
Python |
Medium |
561 |
数组拆分 I - Array Partition I |
C# |
C++ |
Java |
Python |
Easy |
560 |
和为K的子数组 - Subarray Sum Equals K |
C# |
C++ |
Java |
Python |
Medium |
559 |
|
C# |
C++ |
Java |
Python |
Easy |
558 |
|
C# |
C++ |
Java |
Python |
Easy |
557 |
反转字符串中的单词 III - Reverse Words in a String III |
C# |
C++ |
Java |
Python |
Easy |
556 |
下一个更大元素 III - Next Greater Element III |
C# |
C++ |
Java |
Python |
Medium |
555 |
|
C# |
C++ |
Java |
Python |
Medium |
554 |
砖墙 - Brick Wall |
C# |
C++ |
Java |
Python |
Medium |
553 |
最优除法 - Optimal Division |
C# |
C++ |
Java |
Python |
Medium |
552 |
学生出勤记录 II - Student Attendance Record II |
C# |
C++ |
Java |
Python |
Hard |
551 |
学生出勤纪录 I - Student Attendance Record I |
C# |
C++ |
Java |
Python |
Easy |
550 |
|
C# |
C++ |
Java |
Python |
Medium |
549 |
|
C# |
C++ |
Java |
Python |
Medium |
548 |
|
C# |
C++ |
Java |
Python |
Medium |
547 |
朋友圈 - Friend Circles |
C# |
C++ |
Java |
Python |
Medium |
546 |
移除盒子 - Remove Boxes |
C# |
C++ |
Java |
Python |
Hard |
545 |
|
C# |
C++ |
Java |
Python |
Medium |
544 |
|
C# |
C++ |
Java |
Python |
Medium |
543 |
二叉树的直径 - Diameter of Binary Tree |
C# |
C++ |
Java |
Python |
Easy |
542 |
01 矩阵 - 01 Matrix |
C# |
C++ |
Java |
Python |
Medium |
541 |
反转字符串 II - Reverse String II |
C# |
C++ |
Java |
Python |
Easy |
540 |
有序数组中的单一元素 - Single Element in a Sorted Array |
C# |
C++ |
Java |
Python |
Medium |
539 |
最小时间差 - Minimum Time Difference |
C# |
C++ |
Java |
Python |
Medium |
538 |
把二叉搜索树转换为累加树 - Convert BST to Greater Tree |
C# |
C++ |
Java |
Python |
Easy |
537 |
复数乘法 - Complex Number Multiplication |
C# |
C++ |
Java |
Python |
Medium |
536 |
|
C# |
C++ |
Java |
Python |
Medium |
535 |
|
C# |
C++ |
Java |
Python |
Medium |
534 |
|
C# |
C++ |
Java |
Python |
Medium |
533 |
|
C# |
C++ |
Java |
Python |
Medium |
532 |
数组中的K-diff数对 - K-diff Pairs in an Array |
C# |
C++ |
Java |
Python |
Easy |
531 |
|
C# |
C++ |
Java |
Python |
Medium |
530 |
二叉搜索树的最小绝对差 - Minimum Absolute Difference in BST |
C# |
C++ |
Java |
Python |
Easy |
529 |
扫雷游戏 - Minesweeper |
C# |
C++ |
Java |
Python |
Medium |
528 |
按权重随机选择 - Random Pick with Weight |
C# |
C++ |
Java |
Python |
Medium |
527 |
|
C# |
C++ |
Java |
Python |
Hard |
526 |
优美的排列 - Beautiful Arrangement |
C# |
C++ |
Java |
Python |
Medium |
525 |
连续数组 - Contiguous Array |
C# |
C++ |
Java |
Python |
Medium |
524 |
通过删除字母匹配到字典里最长单词 - Longest Word in Dictionary through Deleting |
C# |
C++ |
Java |
Python |
Medium |
523 |
连续的子数组和 - Continuous Subarray Sum |
C# |
C++ |
Java |
Python |
Medium |
522 |
最长特殊序列 II - Longest Uncommon Subsequence II |
C# |
C++ |
Java |
Python |
Medium |
521 |
最长特殊序列 Ⅰ - Longest Uncommon Subsequence I |
C# |
C++ |
Java |
Python |
Easy |
520 |
检测大写字母 - Detect Capital |
C# |
C++ |
Java |
Python |
Easy |
519 |
随机翻转矩阵 - Random Flip Matrix |
C# |
C++ |
Java |
Python |
Medium |
518 |
零钱兑换 II - Coin Change 2 |
C# |
C++ |
Java |
Python |
Medium |
517 |
超级洗衣机 - Super Washing Machines |
C# |
C++ |
Java |
Python |
Hard |
516 |
最长回文子序列 - Longest Palindromic |
C# |
C++ |
Java |
Python |
Medium |
515 |
在每个树行中找最大值 - Find Largest Value in Each Tree Row |
C# |
C++ |
Java |
Python |
Medium |
514 |
自由之路 - Freedom Trail |
C# |
C++ |
Java |
Python |
Hard |
513 |
找树左下角的值 - Find Bottom Left Tree Value |
C# |
C++ |
Java |
Python |
Medium |
512 |
|
C# |
C++ |
Java |
Python |
Medium |
511 |
|
C# |
C++ |
Java |
Python |
Medium |
510 |
|
C# |
C++ |
Java |
Python |
Medium |
509 |
斐波那契数 - Fibonacci Number |
C# |
C++ |
Java |
Python |
Easy |
508 |
出现次数最多的子树元素和 - Most Frequent Subtree Sum |
C# |
C++ |
Java |
Python |
Medium |
507 |
完美数 - Perfect Number |
C# |
C++ |
Java |
Python |
Easy |
506 |
相对名次 - Relative Ranks |
C# |
C++ |
Java |
Python |
Easy |
505 |
|
C# |
C++ |
Java |
Python |
Medium |
504 |
七进制数 - Base 7 |
C# |
C++ |
Java |
Python |
Easy |
503 |
下一个更大元素 II - Next Greater Element II |
C# |
C++ |
Java |
Python |
Medium |
502 |
IPO(首次公开募股) - Initial Public Offerings |
C# |
C++ |
Java |
Python |
Hard |
501 |
二叉搜索树中的众数 - Find Mode in Binary Search Tree |
C# |
C++ |
Java |
Python |
Easy |
500 |
键盘行 - Keyboard Row |
C# |
C++ |
Java |
Python |
Easy |
499 |
|
C# |
C++ |
Java |
Python |
Hard |
498 |
对角线遍历 - Diagonal Traverse |
C# |
C++ |
Java |
Python |
Medium |
497 |
非重叠矩形中的随机点 - Random Point in Non-overlapping Rectangles |
C# |
C++ |
Java |
Python |
Medium |
496 |
下一个更大元素 I - Next Greater Element I |
C# |
C++ |
Java |
Python |
Easy |
495 |
提莫攻击 - Teemo Attacking |
C# |
C++ |
Java |
Python |
Medium |
494 |
目标和 - Target Sum |
C# |
C++ |
Java |
Python |
Medium |
493 |
翻转对 - Reverse Pairs |
C# |
C++ |
Java |
Python |
Hard |
492 |
构造矩形 - Construct the Rectangle |
C# |
C++ |
Java |
Python |
Easy |
491 |
递增子序列 - Increasing Subsequences |
C# |
C++ |
Java |
Python |
Medium |
490 |
|
C# |
C++ |
Java |
Python |
Medium |
489 |
|
C# |
C++ |
Java |
Python |
Hard |
488 |
祖玛游戏 - Zuma Game |
C# |
C++ |
Java |
Python |
Hard |
487 |
|
C# |
C++ |
Java |
Python |
Medium |
486 |
预测赢家 - Predict the Winner |
C# |
C++ |
Java |
Python |
Medium |
485 |
最大连续1的个数 - Max Consecutive Ones |
C# |
C++ |
Java |
Python |
Easy |
484 |
|
C# |
C++ |
Java |
Python |
Medium |
483 |
最小好进制 - Smallest Good Base |
C# |
C++ |
Java |
Python |
Hard |
482 |
密钥格式化 - License Key Formatting |
C# |
C++ |
Java |
Python |
Easy |
481 |
神奇字符串 - Magical String |
C# |
C++ |
Java |
Python |
Medium |
480 |
|
C# |
C++ |
Java |
Python |
Hard |
479 |
最大回文数乘积 - Largest Palindrome Product |
C# |
C++ |
Java |
Python |
Hard |
478 |
在圆内随机生成点 - Generate Random Point in a Circle |
C# |
C++ |
Java |
Python |
Medium |
477 |
汉明距离总和 - Total Hamming Distance |
C# |
C++ |
Java |
Python |
Medium |
476 |
数字的补数 - Number Complement |
C# |
C++ |
Java |
Python |
Easy |
475 |
供暖器 - Heaters |
C# |
C++ |
Java |
Python |
Easy |
474 |
一和零 - Ones and Zeroes |
C# |
C++ |
Java |
Python |
Medium |
473 |
火柴拼正方形 - Matchsticks to Square |
C# |
C++ |
Java |
Python |
Medium |
472 |
连接词 - Concatenated Words |
C# |
C++ |
Java |
Python |
Hard |
471 |
|
C# |
C++ |
Java |
Python |
Hard |
470 |
用 Rand7() 实现 Rand10() - Implement Rand10() Using Rand7() |
C# |
C++ |
Java |
Python |
Medium |
469 |
|
C# |
C++ |
Java |
Python |
Medium |
468 |
验证IP地址 - Validate IP Address |
C# |
C++ |
Java |
Python |
Medium |
467 |
环绕字符串中唯一的子字符串 - Unique Substrings in Wraparound String |
C# |
C++ |
Java |
Python |
Medium |
466 |
统计重复个数 - Count The Repetitions |
C# |
C++ |
Java |
Python |
Hard |
465 |
|
C# |
C++ |
Java |
Python |
Hard |
464 |
我能赢吗 - Can I Win |
C# |
C++ |
Java |
Python |
Medium |
463 |
岛屿的周长 - Island Perimeter |
C# |
C++ |
Java |
Python |
Easy |
462 |
最少移动次数使数组元素相等 II - Minimum Moves to Equal Array Elements II |
C# |
C++ |
Java |
Python |
Medium |
461 |
汉明距离 - Hamming Distance |
C# |
C++ |
Java |
Python |
Easy |
460 |
|
C# |
C++ |
Java |
Python |
Hard |
459 |
重复的子字符串 - Repeated Substring Pattern |
C# |
C++ |
Java |
Python |
Easy |
458 |
可怜的小猪 - Poor Pigs |
C# |
C++ |
Java |
Python |
Hard |
457 |
环形数组循环 - Circular Array Loop |
C# |
C++ |
Java |
Python |
Medium |
456 |
132模式 - 132 Pattern |
C# |
C++ |
Java |
Python |
Medium |
455 |
分发饼干 - Assign Cookies |
C# |
C++ |
Java |
Python |
Easy |
454 |
四数相加 II - 4Sum II |
C# |
C++ |
Java |
Python |
Medium |
453 |
最小移动次数使数组元素相等 - Minimum Moves to Equal Array Elements |
C# |
C++ |
Java |
Python |
Easy |
452 |
用最少数量的箭引爆气球 - Minimum Number of Arrows to Burst Balloons |
C# |
C++ |
Java |
Python |
Medium |
451 |
根据字符出现频率排序 - Sort Characters By Frequency |
C# |
C++ |
Java |
Python |
Medium |
450 |
删除二叉搜索树中的节点 - Delete Node in a BST |
C# |
C++ |
Java |
Python |
Medium |
449 |
|
C# |
C++ |
Java |
Python |
Medium |
448 |
找到所有数组中消失的数字 - Find All Numbers Disappeared in an Array |
C# |
C++ |
Java |
Python |
Easy |
447 |
回旋镖的数量 - Number of Boomerangs |
C# |
C++ |
Java |
Python |
Easy |
446 |
等差数列划分 II - 子序列 - Arithmetic Slices II - Subsequence |
C# |
C++ |
Java |
Python |
Hard |
445 |
两数相加 II - Add Two Numbers II |
C# |
C++ |
Java |
Python |
Medium |
444 |
|
C# |
C++ |
Java |
Python |
Medium |
443 |
压缩字符串 - String Compression |
C# |
C++ |
Java |
Python |
Easy |
442 |
数组中重复的数据 - Find All Duplicates in an Array |
C# |
C++ |
Java |
Python |
Medium |
441 |
排列硬币 - Arranging Coins |
C# |
C++ |
Java |
Python |
Easy |
440 |
字典序的第K小数字 - K-th Smallest in Lexicographical Order |
C# |
C++ |
Java |
Python |
Hard |
439 |
|
C# |
C++ |
Java |
Python |
Medium |
438 |
找到字符串中所有字母异位词 - Find All Anagrams in a String |
C# |
C++ |
Java |
Python |
Easy |
437 |
路径总和 III - Path Sum III |
C# |
C++ |
Java |
Python |
Easy |
436 |
寻找右区间 - Find Right Interval |
C# |
C++ |
Java |
Python |
Medium |
435 |
无重叠区间 - Non-overlapping Intervals |
C# |
C++ |
Java |
Python |
Medium |
434 |
字符串中的单词数 - Number of Segments in a String |
C# |
C++ |
Java |
Python |
Easy |
433 |
最小基因变化 - Minimum Genetic Mutation |
C# |
C++ |
Java |
Python |
Medium |
432 |
|
C# |
C++ |
Java |
Python |
Hard |
431 |
|
C# |
C++ |
Java |
Python |
Hard |
430 |
|
C# |
C++ |
Java |
Python |
Medium |
429 |
|
C# |
C++ |
Java |
Python |
Easy |
428 |
|
C# |
C++ |
Java |
Python |
Hard |
427 |
|
C# |
C++ |
Java |
Python |
Easy |
426 |
|
C# |
C++ |
Java |
Python |
Medium |
425 |
|
C# |
C++ |
Java |
Python |
Hard |
424 |
替换后的最长重复字符 - Longest Repeating Character Replacement |
C# |
C++ |
Java |
Python |
Medium |
423 |
从英文中重建数字 - Reconstruct Original Digits from English |
C# |
C++ |
Java |
Python |
Medium |
422 |
|
C# |
C++ |
Java |
Python |
Easy |
421 |
数组中两个数的最大异或值 - Maximum XOR of Two Numbers in an Array |
C# |
C++ |
Java |
Python |
Medium |
420 |
强密码检验器 - Strong Password Checker |
C# |
C++ |
Java |
Python |
Hard |
419 |
甲板上的战舰 - Battleships in a Board |
C# |
C++ |
Java |
Python |
Medium |
418 |
|
C# |
C++ |
Java |
Python |
Medium |
417 |
太平洋大西洋水流问题 - Pacific Atlantic Water Flow |
C# |
C++ |
Java |
Python |
Medium |
416 |
分割等和子集 - Partition Equal Subset Sum |
C# |
C++ |
Java |
Python |
Medium |
415 |
字符串相加 - Add Strings |
C# |
C++ |
Java |
Python |
Easy |
414 |
第三大的数 - Third Maximum Number |
C# |
C++ |
Java |
Python |
Easy |
413 |
等差数列划分 - Arithmetic Slices |
C# |
C++ |
Java |
Python |
Medium |
412 |
Fizz Buzz |
C# |
C++ |
Java |
Python |
Easy |
411 |
|
C# |
C++ |
Java |
Python |
Hard |
410 |
分割数组的最大值 - Split Array Largest Sum |
C# |
C++ |
Java |
Python |
Hard |
409 |
最长回文串 - Longest Palindrome |
C# |
C++ |
Java |
Python |
Easy |
408 |
|
C# |
C++ |
Java |
Python |
Easy |
407 |
接雨水 II - Trapping Rain Water II |
C# |
C++ |
Java |
Python |
Hard |
406 |
根据身高重建队列 - Queue Reconstruction by Height |
C# |
C++ |
Java |
Python |
Medium |
405 |
数字转换为十六进制数 - Convert a Number to Hexadecimal |
C# |
C++ |
Java |
Python |
Easy |
404 |
左叶子之和 - Sum of Left Leaves |
C# |
C++ |
Java |
Python |
Easy |
403 |
青蛙过河 - Frog Jump |
C# |
C++ |
Java |
Python |
Hard |
402 |
移掉K位数字 - Remove K Digits |
C# |
C++ |
Java |
Python |
Medium |
401 |
二进制手表 - Binary Watch |
C# |
C++ |
Java |
Python |
Easy |
400 |
第N个数字 - Nth Digit |
C# |
C++ |
Java |
Python |
Easy |
399 |
除法求值 - Evaluate Division |
C# |
C++ |
Java |
Python |
Medium |
398 |
随机数索引 - Random Pick Index |
C# |
C++ |
Java |
Python |
Medium |
397 |
整数替换 - Integer Replacement |
C# |
C++ |
Java |
Python |
Medium |
396 |
旋转函数 - Rotate Function |
C# |
C++ |
Java |
Python |
Medium |
395 |
至少有K个重复字符的最长子串 - Longest Substring with At Least K Repeating Characters |
C# |
C++ |
Java |
Python |
Medium |
394 |
字符串解码 - Decode String |
C# |
C++ |
Java |
Python |
Medium |
393 |
UTF-8 编码验证 - UTF-8 Validation |
C# |
C++ |
Java |
Python |
Medium |
392 |
判断子序列 - Is Subsequence |
C# |
C++ |
Java |
Python |
Medium |
391 |
完美矩形 - Perfect Rectangle |
C# |
C++ |
Java |
Python |
Hard |
390 |
消除游戏 - Elimination Game |
C# |
C++ |
Java |
Python |
Medium |
389 |
找不同 - Find the Difference |
C# |
C++ |
Java |
Python |
Easy |
388 |
文件的最长绝对路径 - Longest Absolute File Path |
C# |
C++ |
Java |
Python |
Medium |
387 |
字符串中的第一个唯一字符 - First Unique Character in a String |
C# |
C++ |
Java |
Python |
Easy |
386 |
字典序排数 - Lexicographical Numbers |
C# |
C++ |
Java |
Python |
Medium |
385 |
迷你语法分析器 - Mini Parser |
C# |
C++ |
Java |
Python |
Medium |
384 |
打乱数组 - Shuffle an Array |
C# |
C++ |
Java |
Python |
Medium |
383 |
赎金信 - Ransom Note |
C# |
C++ |
Java |
Python |
Easy |
382 |
链表随机节点 - Linked List Random Node |
C# |
C++ |
Java |
Python |
Medium |
381 |
O(1) 时间插入、删除和获取随机元素 - 允许重复 - Insert Delete GetRandom O(1) - Duplicates allowed |
C# |
C++ |
Java |
Python |
Hard |
380 |
常数时间插入、删除和获取随机元素 - Insert Delete GetRandom O(1) |
C# |
C++ |
Java |
Python |
Medium |
379 |
|
C# |
C++ |
Java |
Python |
Medium |
378 |
有序矩阵中第K小的元素 - Kth Smallest Element in a Sorted Matrix |
C# |
C++ |
Java |
Python |
Medium |
377 |
组合总和 Ⅳ - Combination Sum IV |
C# |
C++ |
Java |
Python |
Medium |
376 |
摆动序列 - Wiggle Subsequence |
C# |
C++ |
Java |
Python |
Medium |
375 |
猜数字大小 II - Guess Number Higher or Lower II |
C# |
C++ |
Java |
Python |
Medium |
374 |
猜数字大小 - Guess Number Higher or Lower |
C# |
C++ |
Java |
Python |
Easy |
373 |
查找和最小的K对数字 - Find K Pairs with Smallest Sums |
C# |
C++ |
Java |
Python |
Medium |
372 |
超级次方 - Super Pow |
C# |
C++ |
Java |
Python |
Medium |
371 |
两整数之和 - Sum of Two Integers |
C# |
C++ |
Java |
Python |
Easy |
370 |
|
C# |
C++ |
Java |
Python |
Medium |
369 |
|
C# |
C++ |
Java |
Python |
Medium |
368 |
最大整除子集 - Largest Divisible Subset |
C# |
C++ |
Java |
Python |
Medium |
367 |
有效的完全平方数 - Valid Perfect Square |
C# |
C++ |
Java |
Python |
Easy |
366 |
|
C# |
C++ |
Java |
Python |
Medium |
365 |
水壶问题 - Water and Jug Problem |
C# |
C++ |
Java |
Python |
Medium |
364 |
|
C# |
C++ |
Java |
Python |
Medium |
363 |
矩形区域不超过 K 的最大数值和 - Max Sum of Rectangle No Larger Than K |
C# |
C++ |
Java |
Python |
Hard |
362 |
|
C# |
C++ |
Java |
Python |
Medium |
361 |
|
C# |
C++ |
Java |
Python |
Medium |
360 |
|
C# |
C++ |
Java |
Python |
Medium |
359 |
|
C# |
C++ |
Java |
Python |
Easy |
358 |
|
C# |
C++ |
Java |
Python |
Hard |
357 |
计算各个位数不同的数字个数 - Count Numbers with Unique Digits |
C# |
C++ |
Java |
Python |
Medium |
356 |
|
C# |
C++ |
Java |
Python |
Medium |
355 |
|
C# |
C++ |
Java |
Python |
Medium |
354 |
俄罗斯套娃信封问题 - Russian Doll Envelopes |
C# |
C++ |
Java |
Python |
Hard |
353 |
|
C# |
C++ |
Java |
Python |
Medium |
352 |
将数据流变为多个不相交间隔 - Data Stream as Disjoint Intervals |
C# |
C++ |
Java |
Python |
Hard |
351 |
安卓解锁模式 $ Android Unlock Patterns |
C# |
C++ |
Java |
Python |
Medium |
350 |
两个数组的交集 II - Intersection of Two Arrays II |
C# |
C++ |
Java |
Python |
Easy |
349 |
两个数组的交集 - Intersection of Two Arrays |
C# |
C++ |
Java |
Python |
Easy |
348 |
设计井字棋游戏 $ Design Tic-Tac-Toe |
C# |
C++ |
Java |
Python |
Medium |
347 |
前K个高频元素 - Top K Frequent Elements |
C# |
C++ |
Java |
Python |
Medium |
346 |
从数据流中移动平均值 $ Moving Average from Data Stream |
C# |
C++ |
Java |
Python |
Easy |
345 |
反转字符串中的元音字母 - Reverse Vowels of a String |
C# |
C++ |
Java |
Python |
Easy |
344 |
反转字符串 - Reverse String |
C# |
C++ |
Java |
Python |
Easy |
343 |
整数拆分 - Integer Break |
C# |
C++ |
Java |
Python |
Medium |
342 |
4的幂 - Power of Four |
C# |
C++ |
Java |
Python |
Easy |
341 |
压平嵌套链表迭代器 $ Flatten Nested List Iterator |
C# |
C++ |
Java |
Python |
Medium |
340 |
最多有K个不同字符的最长子串 $ Longest Substring with At Most K Distinct Characters |
C# |
C++ |
Java |
Python |
Hard |
339 |
嵌套链表权重和 $ Nested List Weight Sum |
C# |
C++ |
Java |
Python |
Easy |
338 |
比特位计数 - Counting Bits |
C# |
C++ |
Java |
Python |
Medium |
337 |
打家劫舍 III - House Robber III |
C# |
C++ |
Java |
Python |
Medium |
336 |
回文对 - Palindrome Pairs |
C# |
C++ |
Java |
Python |
Hard |
335 |
路径交叉 - Self Crossing |
C# |
C++ |
Java |
Python |
Hard |
334 |
递增的三元子序列 - Increasing Triplet Subsequence |
C# |
C++ |
Java |
Python |
Medium |
333 |
最大的二分搜索子树 $ Largest BST Subtree |
C# |
C++ |
Java |
Python |
Medium |
332 |
重新安排行程 - Reconstruct Itinerary |
C# |
C++ |
Java |
Python |
Medium |
331 |
验证二叉树的前序序列化 - Verify Preorder Serialization of a Binary Tree |
C# |
C++ |
Java |
Python |
Medium |
330 |
按要求补齐数组 - Patching Array |
C# |
C++ |
Java |
Python |
Hard |
329 |
矩阵中的最长递增路径 - Longest Increasing Path in a Matrix |
C# |
C++ |
Java |
Python |
Hard |
328 |
奇偶链表 - Odd Even Linked List |
C# |
C++ |
Java |
Python |
Medium |
327 |
区间和的个数 - Count of Range Sum |
C# |
C++ |
Java |
Python |
Hard |
326 |
3的幂 - Power of Three |
C# |
C++ |
Java |
Python |
Easy |
325 |
最大子数组之和为k $ Maximum Size Subarray Sum Equals k |
C# |
C++ |
Java |
Python |
Medium |
324 |
摆动排序 II - Wiggle Sort II |
C# |
C++ |
Java |
Python |
Medium |
323 |
无向图中的连通区域的个数 $ Number of Connected Components in an Undirected Graph |
C# |
C++ |
Java |
Python |
Medium |
322 |
零钱兑换 - Coin Change |
C# |
C++ |
Java |
Python |
Medium |
321 |
拼接最大数 - Create Maximum Number |
C# |
C++ |
Java |
Python |
Hard |
320 |
通用简写 $ Generalized Abbreviation |
C# |
C++ |
Java |
Python |
Medium |
319 |
灯泡开关 - Bulb Switcher |
C# |
C++ |
Java |
Python |
Medium |
318 |
最大单词长度乘积 - Maximum Product of Word Lengths |
C# |
C++ |
Java |
Python |
Medium |
317 |
建筑物的最短距离 $ Shortest Distance from All Buildings |
C# |
C++ |
Java |
Python |
Hard |
316 |
去除重复字母 - Remove Duplicate Letters |
C# |
C++ |
Java |
Python |
Hard |
315 |
计算右侧小于当前元素的个数 - Count of Smaller Numbers After Self |
C# |
C++ |
Java |
Python |
Hard |
314 |
二叉树的竖直遍历 $ Binary Tree Vertical Order Traversal |
C# |
C++ |
Java |
Python |
Medium |
313 |
超级丑数 - Super Ugly Number |
C# |
C++ |
Java |
Python |
Medium |
312 |
戳气球 - Burst Balloons |
C# |
C++ |
Java |
Python |
Hard |
311 |
稀疏矩阵相乘 $ Sparse Matrix Multiplication |
C# |
C++ |
Java |
Python |
Medium |
310 |
最小高度树 - Minimum Height Trees |
C# |
C++ |
Java |
Python |
Medium |
309 |
最佳买卖股票时机含冷冻期 - Best Time to Buy and Sell Stock with Cooldown |
C# |
C++ |
Java |
Python |
Medium |
308 |
二维区域和检索 - 可变 $ Range Sum Query 2D - Mutable |
C# |
C++ |
Java |
Python |
Hard |
307 |
区域和检索 - 数组可修改 - Range Sum Query - Mutable |
C# |
C++ |
Java |
Python |
Medium |
306 |
累加数 - Additive Number |
C# |
C++ |
Java |
Python |
Medium |
305 |
岛屿的个数 II $ Number of Islands II |
C# |
C++ |
Java |
Python |
Hard |
304 |
二维区域和检索 - 矩阵不可变 - Range Sum Query 2D - Immutable |
C# |
C++ |
Java |
Python |
Medium |
303 |
区域和检索 - 数组不可变 - Range Sum Query - Immutable |
C# |
C++ |
Java |
Python |
Easy |
302 |
包含黑色像素的最小矩形 $ Smallest Rectangle Enclosing Black Pixels |
C# |
C++ |
Java |
Python |
Hard |
301 |
删除无效的括号 - Remove Invalid Parentheses |
C# |
C++ |
Java |
Python |
Hard |
300 |
最长上升子序列 - Longest Increasing Subsequence |
C# |
C++ |
Java |
Python |
Medium |
299 |
猜数字游戏 - Bulls and Cows |
C# |
C++ |
Java |
Python |
Medium |
298 |
二叉树最长连续序列 $ Binary Tree Longest Consecutive Sequence |
C# |
C++ |
Java |
Python |
Medium |
297 |
二叉树的序列化与反序列化 - Serialize and Deserialize Binary Tree |
C# |
C++ |
Java |
Python |
Hard |
296 |
最佳开会地点 $ Best Meeting Point |
C# |
C++ |
Java |
Python |
Hard |
295 |
数据流的中位数 - Find Median from Data Stream |
C# |
C++ |
Java |
Python |
Hard |
294 |
翻转游戏之 II $ Flip Game II |
C# |
C++ |
Java |
Python |
Medium |
293 |
翻转游戏 $ Flip Game |
C# |
C++ |
Java |
Python |
Easy |
292 |
Nim游戏 - Nim Game |
C# |
C++ |
Java |
Python |
Easy |
291 |
单词模式 II $ Word Pattern II |
C# |
C++ |
Java |
Python |
Hard |
290 |
单词模式 - Word Pattern |
C# |
C++ |
Java |
Python |
Easy |
289 |
生命游戏 - Game of Life |
C# |
C++ |
Java |
Python |
Medium |
288 |
唯一单词缩写 $ Unique Word Abbreviation |
C# |
C++ |
Java |
Python |
Medium |
287 |
寻找重复数 - Find the Duplicate Number |
C# |
C++ |
Java |
Python |
Medium |
286 |
墙和门 $ Walls and Gates |
C# |
C++ |
Java |
Python |
Medium |
285 |
二叉搜索树中的中序后继节点 $ Inorder Successor in BST |
C# |
C++ |
Java |
Python |
Medium |
284 |
顶端迭代器 - Peeking Iterator |
C# |
C++ |
Java |
Python |
Medium |
283 |
移动零 - Move Zeroes |
C# |
C++ |
Java |
Python |
Easy |
282 |
给表达式添加运算符 - Expression Add Operators |
C# |
C++ |
Java |
Python |
Hard |
281 |
之字形迭代器 $ Zigzag Iterator |
C# |
C++ |
Java |
Python |
Medium |
280 |
摆动排序 $ Wiggle Sort |
C# |
C++ |
Java |
Python |
Medium |
279 |
完全平方数 - Perfect Squares |
C# |
C++ |
Java |
Python |
Medium |
278 |
第一个错误的版本 - First Bad Version |
C# |
C++ |
Java |
Python |
Easy |
277 |
寻找名人 $ Find the Celebrity |
C# |
C++ |
Java |
Python |
Medium |
276 |
粉刷栅栏 $ Paint Fence |
C# |
C++ |
Java |
Python |
Easy |
275 |
H指数 II - H-Index II |
C# |
C++ |
Java |
Python |
Medium |
274 |
H指数 - H-Index |
C# |
C++ |
Java |
Python |
Medium |
273 |
整数转换英文表示 - Integer to English Words |
C# |
C++ |
Java |
Python |
Hard |
272 |
最近的二分搜索树的值 II $ Closest Binary Search Tree Value II |
C# |
C++ |
Java |
Python |
Hard |
271 |
加码解码字符串 $ Encode and Decode Strings |
C# |
C++ |
Java |
Python |
Medium |
270 |
最近的二分搜索树的值 $ Closest Binary Search Tree Value |
C# |
C++ |
Java |
Python |
Easy |
269 |
外星人词典 $ Alien Dictionary |
C# |
C++ |
Java |
Python |
Hard |
268 |
缺失数字 - Missing Number |
C# |
C++ |
Java |
Python |
Easy |
267 |
回文全排列 II $ Palindrome Permutation II |
C# |
C++ |
Java |
Python |
Medium |
266 |
回文全排列 $ Palindrome Permutation |
C# |
C++ |
Java |
Python |
Easy |
265 |
粉刷房子 II $ Paint House II |
C# |
C++ |
Java |
Python |
Hard |
264 |
丑数 II - Ugly Number II |
C# |
C++ |
Java |
Python |
Medium |
263 |
丑数 - Ugly Number |
C# |
C++ |
Java |
Python |
Easy |
262 |
行程和用户 - Trips and Users |
C# |
C++ |
Java |
Python |
Hard |
261 |
图验证树 $ Graph Valid Tree |
C# |
C++ |
Java |
Python |
Medium |
260 |
只出现一次的数字 III - Single Number III |
C# |
C++ |
Java |
Python |
Medium |
259 |
三数之和较小值 $ 3Sum Smaller |
C# |
C++ |
Java |
Python |
Medium |
258 |
各位相加 - Add Digits |
C# |
C++ |
Java |
Python |
Easy |
257 |
二叉树的所有路径 - Binary Tree Paths |
C# |
C++ |
Java |
Python |
Easy |
256 |
粉刷房子 $ Paint House |
C# |
C++ |
Java |
Python |
Easy |
255 |
验证二叉搜索树的先序序列 $ Verify Preorder Sequence in Binary Search Tree |
C# |
C++ |
Java |
Python |
Medium |
254 |
因子组合 $ Factor Combinations |
C# |
C++ |
Java |
Python |
Medium |
253 |
会议室 II $ Meeting Rooms II |
C# |
C++ |
Java |
Python |
Medium |
252 |
会议室 $ Meeting Rooms |
C# |
C++ |
Java |
Python |
Easy |
251 |
展平二维向量 $ Flatten 2D Vector |
C# |
C++ |
Java |
Python |
Medium |
250 |
计数相同值子树的个数 $ Count Univalue Subtrees |
C# |
C++ |
Java |
Python |
Medium |
249 |
群组偏移字符串 $ Group Shifted Strings |
C# |
C++ |
Java |
Python |
Medium |
248 |
对称数 III $ Strobogrammatic Number III |
C# |
C++ |
Java |
Python |
Hard |
247 |
对称数 II $ Strobogrammatic Number II |
C# |
C++ |
Java |
Python |
Medium |
246 |
对称数 $ Strobogrammatic Number |
C# |
C++ |
Java |
Python |
Easy |
245 |
最短单词距离 III $ Shortest Word Distance III |
C# |
C++ |
Java |
Python |
Medium |
244 |
最短单词距离 II $ Shortest Word Distance II |
C# |
C++ |
Java |
Python |
Medium |
243 |
最短单词距离 $ Shortest Word Distance |
C# |
C++ |
Java |
Python |
Easy |
242 |
有效的字母异位词 - Valid Anagram |
C# |
C++ |
Java |
Python |
Easy |
241 |
为运算表达式设计优先级 - Different Ways to Add Parentheses |
C# |
C++ |
Java |
Python |
Medium |
240 |
搜索二维矩阵 II - Search a 2D Matrix II |
C# |
C++ |
Java |
Python |
Medium |
239 |
滑动窗口最大值 - Sliding Window Maximum |
C# |
C++ |
Java |
Python |
Hard |
238 |
除自身以外数组的乘积 - Product of Array Except Self |
C# |
C++ |
Java |
Python |
Medium |
237 |
删除链表中的节点 - Delete Node in a Linked List |
C# |
C++ |
Java |
Python |
Easy |
236 |
二叉树的最近公共祖先 - Lowest Common Ancestor of a Binary Tree |
C# |
C++ |
Java |
Python |
Medium |
235 |
二叉搜索树的最近公共祖先 - Lowest Common Ancestor of a Binary Search Tree |
C# |
C++ |
Java |
Python |
Easy |
234 |
回文链表 - Palindrome Linked List |
C# |
C++ |
Java |
Python |
Easy |
233 |
数字1的个数 - Number of Digit One |
C# |
C++ |
Java |
Python |
Hard |
232 |
用栈实现队列 - Implement Queue using Stacks |
C# |
C++ |
Java |
Python |
Easy |
231 |
2的幂 - Power of Two |
C# |
C++ |
Java |
Python |
Easy |
230 |
二叉搜索树中第K小的元素 - Kth Smallest Element in a BST |
C# |
C++ |
Java |
Python |
Medium |
229 |
求众数 II - Majority Element II |
C# |
C++ |
Java |
Python |
Medium |
228 |
汇总区间 - Summary Ranges |
C# |
C++ |
Java |
Python |
Medium |
227 |
基本计算器 II - Basic Calculator II |
C# |
C++ |
Java |
Python |
Medium |
226 |
翻转二叉树 - Invert Binary Tree |
C# |
C++ |
Java |
Python |
Easy |
225 |
用队列实现栈 - Implement Stack using Queues |
C# |
C++ |
Java |
Python |
Easy |
224 |
基本计算器 - Basic Calculator |
C# |
C++ |
Java |
Python |
Hard |
223 |
矩形面积 - Rectangle Area |
C# |
C++ |
Java |
Python |
Medium |
222 |
完全二叉树的节点个数 - Count Complete Tree Nodes |
C# |
C++ |
Java |
Python |
Medium |
221 |
最大正方形 - Maximal Square |
C# |
C++ |
Java |
Python |
Medium |
220 |
存在重复元素 III - Contains Duplicate III |
C# |
C++ |
Java |
Python |
Medium |
219 |
存在重复元素 II - Contains Duplicate II |
C# |
C++ |
Java |
Python |
Easy |
218 |
天际线问题 - The Skyline Problem |
C# |
C++ |
Java |
Python |
Hard |
217 |
存在重复元素 - Contains Duplicate |
C# |
C++ |
Java |
Python |
Easy |
216 |
组合总和 III - Combination Sum III |
C# |
C++ |
Java |
Python |
Medium |
215 |
数组中的第K个最大元素 - Kth Largest Element in an Array |
C# |
C++ |
Java |
Python |
Medium |
214 |
最短回文串 - Shortest Palindrome |
C# |
C++ |
Java |
Python |
Hard |
213 |
打家劫舍 II - House Robber II |
C# |
C++ |
Java |
Python |
Medium |
212 |
单词搜索 II - Word Search II |
C# |
C++ |
Java |
Python |
Hard |
211 |
添加与搜索单词 - 数据结构设计 - Add and Search Word - Data structure design |
C# |
C++ |
Java |
Python |
Medium |
210 |
课程表 II - Course Schedule II |
C# |
C++ |
Java |
Python |
Medium |
209 |
长度最小的子数组 - Minimum Size Subarray Sum |
C# |
C++ |
Java |
Python |
Medium |
208 |
实现 Trie (前缀树) - Implement Trie (Prefix Tree) |
C# |
C++ |
Java |
Python |
Medium |
207 |
课程表 - Course Schedule |
C# |
C++ |
Java |
Python |
Medium |
206 |
反转链表 - Reverse Linked List |
C# |
C++ |
Java |
Python |
Easy |
205 |
同构字符串 - Isomorphic Strings |
C# |
C++ |
Java |
Python |
Easy |
204 |
计数质数 - Count Primes |
C# |
C++ |
Java |
Python |
Easy |
203 |
移除链表元素 - Remove Linked List Elements |
C# |
C++ |
Java |
Python |
Easy |
202 |
快乐数 - Happy Number |
C# |
C++ |
Java |
Python |
Easy |
201 |
数字范围按位与 - Bitwise AND of Numbers Range |
C# |
C++ |
Java |
Python |
Medium |
200 |
岛屿的个数 - Number of Islands |
C# |
C++ |
Java |
Python |
Medium |
199 |
二叉树的右视图 - Binary Tree Right Side View |
C# |
C++ |
Java |
Python |
Medium |
198 |
打家劫舍 - House Robber |
C# |
C++ |
Java |
Python |
Easy |
197 |
上升的温度 - Rising Temperature |
C# |
C++ |
Java |
Python |
Easy |
196 |
删除重复的电子邮箱 - Delete Duplicate Emails |
C# |
C++ |
Java |
Python |
Easy |
195 |
第十行 - Tenth Line |
C# |
C++ |
Java |
Python |
Easy |
194 |
转置文件 - Transpose File |
C# |
C++ |
Java |
Python |
Medium |
193 |
有效电话号码 - Valid Phone Numbers |
C# |
C++ |
Java |
Python |
Easy |
192 |
统计词频 - Word Frequency |
C# |
C++ |
Java |
Python |
Medium |
191 |
位1的个数 - Number of 1 Bits |
C# |
C++ |
Java |
Python |
Easy |
190 |
颠倒二进制位 - Reverse Bits |
C# |
C++ |
Java |
Python |
Easy |
189 |
旋转数组 - Rotate Array |
C# |
C++ |
Java |
Python |
Easy |
188 |
买卖股票的最佳时机 IV - Best Time to Buy and Sell Stock IV |
C# |
C++ |
Java |
Python |
Hard |
187 |
重复的DNA序列 - Repeated DNA Sequences |
C# |
C++ |
Java |
Python |
Medium |
186 |
翻转字符串中的单词 II $ Reverse Words in a String II |
C# |
C++ |
Java |
Python |
Medium |
185 |
部门工资前三高的员工 - Department Top Three Salaries |
C# |
C++ |
Java |
Python |
Hard |
184 |
部门工资最高的员工 - Department Highest Salary |
C# |
C++ |
Java |
Python |
Medium |
183 |
从不订购的客户 - Customers Who Never Order |
C# |
C++ |
Java |
Python |
Easy |
182 |
查找重复的电子邮箱 - Duplicate Emails |
C# |
C++ |
Java |
Python |
Easy |
181 |
超过经理收入的员工 - Employees Earning More Than Their Managers |
C# |
C++ |
Java |
Python |
Easy |
180 |
连续出现的数字 - Consecutive Numbers |
C# |
C++ |
Java |
Python |
Medium |
179 |
最大数 - Largest Number |
C# |
C++ |
Java |
Python |
Medium |
178 |
分数排名 - Rank Scores |
C# |
C++ |
Java |
Python |
Medium |
177 |
第N高的薪水 - Nth Highest Salary |
C# |
C++ |
Java |
Python |
Medium |
176 |
第二高的薪水 - Second Highest Salary |
C# |
C++ |
Java |
Python |
Easy |
175 |
组合两个表 - Combine Two Tables |
C# |
C++ |
Java |
Python |
Easy |
174 |
地下城游戏 - Dungeon Game |
C# |
C++ |
Java |
Python |
Hard |
173 |
二叉搜索树迭代器 - Binary Search Tree Iterator |
C# |
C++ |
Java |
Python |
Medium |
172 |
阶乘后的零 - Factorial Trailing Zeroes |
C# |
C++ |
Java |
Python |
Easy |
171 |
Excel表列序号 - Excel Sheet Column Number |
C# |
C++ |
Java |
Python |
Easy |
170 |
两数之和之三 - 数据结构设计 $ Two Sum III - Data structure design |
C# |
C++ |
Java |
Python |
Easy |
169 |
求众数 - Majority Element |
C# |
C++ |
Java |
Python |
Easy |
168 |
Excel表列名称 - Excel Sheet Column Title |
C# |
C++ |
Java |
Python |
Easy |
167 |
两数之和 II - 输入有序数组 - Two Sum II - Input array is sorted |
C# |
C++ |
Java |
Python |
Easy |
166 |
分数到小数 - Fraction to Recurring Decimal |
C# |
C++ |
Java |
Python |
Medium |
165 |
比较版本号 - Compare Version Numbers |
C# |
C++ |
Java |
Python |
Medium |
164 |
最大间距 - Maximum Gap |
C# |
C++ |
Java |
Python |
Hard |
163 |
缺失区间 $ Missing Ranges |
C# |
C++ |
Java |
Python |
Medium |
162 |
寻找峰值 - Find Peak Element |
C# |
C++ |
Java |
Python |
Medium |
161 |
一次编辑距离 $ One Edit Distance |
C# |
C++ |
Java |
Python |
Medium |
160 |
相交链表 - Intersection of Two Linked Lists |
C# |
C++ |
Java |
Python |
Easy |
159 |
具有最多两个不同字符的最长子串 $ Longest Substring with At Most Two Distinct Characters |
C# |
C++ |
Java |
Python |
Hard |
158 |
用Read4来读取N个字符II $ Read N Characters Given Read4 II |
C# |
C++ |
Java |
Python |
Hard |
157 |
用Read4来读取N个字符 $ Read N Characters Given Read4 |
C# |
C++ |
Java |
Python |
Easy |
156 |
二叉树的上下颠倒 $ Binary Tree Upside Down |
C# |
C++ |
Java |
Python |
Medium |
155 |
最小栈 - Min Stack |
C# |
C++ |
Java |
Python |
Easy |
154 |
寻找旋转排序数组中的最小值 II - Find Minimum in Rotated Sorted Array II |
C# |
C++ |
Java |
Python |
Hard |
153 |
寻找旋转排序数组中的最小值 - Find Minimum in Rotated Sorted Array |
C# |
C++ |
Java |
Python |
Medium |
152 |
乘积最大子序列 - Maximum Product Subarray |
C# |
C++ |
Java |
Python |
Medium |
151 |
翻转字符串里的单词 - Reverse Words in a String |
C# |
C++ |
Java |
Python |
Medium |
150 |
逆波兰表达式求值 - Evaluate Reverse Polish Notation |
C# |
C++ |
Java |
Python |
Medium |
149 |
直线上最多的点数 - Max Points on a Line |
C# |
C++ |
Java |
Python |
Hard |
148 |
排序链表 - Sort List |
C# |
C++ |
Java |
Python |
Medium |
147 |
对链表进行插入排序 - Insertion Sort List |
C# |
C++ |
Java |
Python |
Medium |
146 |
LRU缓存机制 - LRU Cache |
C# |
C++ |
Java |
Python |
Hard |
145 |
二叉树的后序遍历 - Binary Tree Postorder Traversal |
C# |
C++ |
Java |
Python |
Hard |
144 |
二叉树的前序遍历 - Binary Tree Preorder Traversal |
C# |
C++ |
Java |
Python |
Medium |
143 |
重排链表 - Reorder List |
C# |
C++ |
Java |
Python |
Medium |
142 |
环形链表 II - Linked List Cycle II |
C# |
C++ |
Java |
Python |
Medium |
141 |
环形链表 - Linked List Cycle |
C# |
C++ |
Java |
Python |
Easy |
140 |
单词拆分 II - Word Break II |
C# |
C++ |
Java |
Python |
Hard |
139 |
单词拆分 - Word Break |
C# |
C++ |
Java |
Python |
Medium |
138 |
复制带随机指针的链表 - Copy List with Random Pointer |
C# |
C++ |
Java |
Python |
Medium |
137 |
只出现一次的数字 II - Single Number II |
C# |
C++ |
Java |
Python |
Medium |
136 |
只出现一次的数字 - Single Number |
C# |
C++ |
Java |
Python |
Easy |
135 |
分发糖果 - Candy |
C# |
C++ |
Java |
Python |
Hard |
134 |
加油站 - Gas Station |
C# |
C++ |
Java |
Python |
Medium |
133 |
克隆图 - Clone Graph |
C# |
C++ |
Java |
Python |
Medium |
132 |
分割回文串 II - Palindrome Partitioning II |
C# |
C++ |
Java |
Python |
Hard |
131 |
分割回文串 - Palindrome Partitioning |
C# |
C++ |
Java |
Python |
Medium |
130 |
被围绕的区域 - Surrounded Regions |
C# |
C++ |
Java |
Python |
Medium |
129 |
求根到叶子节点数字之和 - Sum Root to Leaf Numbers |
C# |
C++ |
Java |
Python |
Medium |
128 |
最长连续序列 - Longest Consecutive Sequence |
C# |
C++ |
Java |
Python |
Hard |
127 |
单词接龙 - Word Ladder |
C# |
C++ |
Java |
Python |
Medium |
126 |
单词接龙 II - Word Ladder II |
C# |
C++ |
Java |
Python |
Hard |
125 |
验证回文串 - Valid Palindrome |
C# |
C++ |
Java |
Python |
Easy |
124 |
二叉树中的最大路径和 - Binary Tree Maximum Path Sum |
C# |
C++ |
Java |
Python |
Hard |
123 |
买卖股票的最佳时机 III - Best Time to Buy and Sell Stock III |
C# |
C++ |
Java |
Python |
Hard |
122 |
买卖股票的最佳时机 II - Best Time to Buy and Sell Stock II |
C# |
C++ |
Java |
Python |
Easy |
121 |
买卖股票的最佳时机 I - Best Time to Buy and Sell Stock |
C# |
C++ |
Java |
Python |
Easy |
120 |
三角形最小路径和 - Triangle |
C# |
C++ |
Java |
Python |
Medium |
119 |
杨辉三角 II - Pascal's Triangle II |
C# |
C++ |
Java |
Python |
Easy |
118 |
杨辉三角 - Pascal's Triangle |
C# |
C++ |
Java |
Python |
Easy |
117 |
填充同一层的兄弟节点 II - Populating Next Right Pointers in Each Node II |
C# |
C++ |
Java |
Python |
Medium |
116 |
填充同一层的兄弟节点 - Populating Next Right Pointers in Each Node |
C# |
C++ |
Java |
Python |
Medium |
115 |
不同的子序列 - Distinct Subsequences |
C# |
C++ |
Java |
Python |
Hard |
114 |
二叉树展开为链表 - Flatten Binary Tree to Linked List |
C# |
C++ |
Java |
Python |
Medium |
113 |
路径总和 II - Path Sum II |
C# |
C++ |
Java |
Python |
Medium |
112 |
路径总和 - Path Sum |
C# |
C++ |
Java |
Python |
Easy |
111 |
二叉树的最小深度 - Minimum Depth of Binary Tree |
C# |
C++ |
Java |
Python |
Easy |
110 |
平衡二叉树 - Balanced Binary Tree |
C# |
C++ |
Java |
Python |
Easy |
109 |
有序链表转换二叉搜索树 - Convert Sorted List to Binary Search Tree |
C# |
C++ |
Java |
Python |
Medium |
108 |
将有序数组转换为二叉搜索树 - Convert Sorted Array to Binary Search Tree |
C# |
C++ |
Java |
Python |
Easy |
107 |
二叉树的层次遍历 II - Binary Tree Level Order Traversal II |
C# |
C++ |
Java |
Python |
Easy |
106 |
从中序与后序遍历序列构造二叉树 - Construct Binary Tree from Inorder and Postorder Traversal |
C# |
C++ |
Java |
Python |
Medium |
105 |
从前序与中序遍历序列构造二叉树 - Construct Binary Tree from Preorder and Inorder Traversal |
C# |
C++ |
Java |
Python |
Medium |
104 |
二叉树的最大深度 - Maximum Depth of Binary Tree |
C# |
C++ |
Java |
Python |
Easy |
103 |
二叉树的锯齿形层次遍历 - Binary Tree Zigzag Level Order Traversal |
C# |
C++ |
Java |
Python |
Medium |
102 |
二叉树的层次遍历 - Binary Tree Level Order Traversal |
C# |
C++ |
Java |
Python |
Medium |
101 |
对称二叉树 - Symmetric Tree |
C# |
C++ |
Java |
Python |
Easy |
100 |
相同的树 - Same Tree |
C# |
C++ |
Java |
Python |
Hard |
99 |
恢复二叉搜索树 - Recover Binary Search Tree |
C# |
C++ |
Java |
Python |
Medium |
98 |
验证二叉搜索树 - Validate Binary Search Tree |
C# |
C++ |
Java |
Python |
Medium |
97 |
交错字符串 - Interleaving String |
C# |
C++ |
Java |
Python |
Medium |
96 |
不同的二叉搜索树 - Unique Binary Search Trees |
C# |
C++ |
Java |
Python |
Medium |
95 |
不同的二叉搜索树 II - Unique Binary Search Trees II |
C# |
C++ |
Java |
Python |
Medium |
94 |
二叉树的中序遍历 - Binary Tree Inorder Traversal |
C# |
C++ |
Java |
Python |
Medium |
93 |
复原IP地址 - Restore IP Addresses |
C# |
C++ |
Java |
Python |
Medium |
92 |
反转链表 II - Reverse Linked List II |
C# |
C++ |
Java |
Python |
Medium |
91 |
解码方法 - Decode Ways |
C# |
C++ |
Java |
Python |
Medium |
90 |
子集 II - Subsets II |
C# |
C++ |
Java |
Python |
Medium |
89 |
格雷编码 - Gray Code |
C# |
C++ |
Java |
Python |
Medium |
88 |
合并两个有序数组 - Merge Sorted Array |
C# |
C++ |
Java |
Python |
Easy |
87 |
扰乱字符串 - Scramble String |
C# |
C++ |
Java |
Python |
Hard |
86 |
分隔链表 - Partition List |
C# |
C++ |
Java |
Python |
Medium |
85 |
最大矩形 - Maximal Rectangle |
C# |
C++ |
Java |
Python |
Hard |
84 |
柱状图中最大的矩形 - Largest Rectangle in Histogram |
C# |
C++ |
Java |
Python |
Hard |
83 |
删除排序链表中的重复元素 - Remove Duplicates from Sorted List |
C# |
C++ |
Java |
Python |
Easy |
82 |
删除排序链表中的重复元素 II - Remove Duplicates from Sorted List II |
C# |
C++ |
Java |
Python |
Medium |
81 |
搜索旋转排序数组 II - Search in Rotated Sorted Array II |
C# |
C++ |
Java |
Python |
Medium |
80 |
删除排序数组中的重复项 II - Remove Duplicates from Sorted Array II |
C# |
C++ |
Java |
Python |
Medium |
79 |
单词搜索 - Word Search |
C# |
C++ |
Java |
Python |
Medium |
78 |
子集 - Subsets |
C# |
C++ |
Java |
Python |
Medium |
77 |
组合 - Combinations |
C# |
C++ |
Java |
Python |
Medium |
76 |
最小覆盖子串 - Minimum Window Substring |
C# |
C++ |
Java |
Python |
Hard |
75 |
颜色分类 - Sort Colors |
C# |
C++ |
Java |
Python |
Medium |
74 |
搜索二维矩阵 - Search a 2D Matrix |
C# |
C++ |
Java |
Python |
Medium |
73 |
矩阵置零 - Set Matrix Zeroes |
C# |
C++ |
Java |
Python |
Medium |
72 |
编辑距离 - Edit Distance |
C# |
C++ |
Java |
Python |
Hard |
71 |
简化路径 - Simplify Path |
C# |
C++ |
Java |
Python |
Medium |
70 |
爬楼梯 - Climbing Stairs |
C# |
C++ |
Java |
Python |
Easy |
69 |
x 的平方根 - Sqrt(x) |
C# |
C++ |
Java |
Python |
Easy |
68 |
文本左右对齐 - Text Justification |
C# |
C++ |
Java |
Python |
Hard |
67 |
二进制求和 - Add Binary |
C# |
C++ |
Java |
Python |
Easy |
66 |
加一 - Plus One |
C# |
C++ |
Java |
Python |
Easy |
65 |
有效数字 - Valid Number |
C# |
C++ |
Java |
Python |
Hard |
64 |
最小路径和 - Minimum Path Sum |
C# |
C++ |
Java |
Python |
Medium |
63 |
不同路径 II - Unique Paths II |
C# |
C++ |
Java |
Python |
Medium |
62 |
不同路径 - Unique Paths |
C# |
C++ |
Java |
Python |
Medium |
61 |
旋转链表 - Rotate List |
C# |
C++ |
Java |
Python |
Medium |
60 |
第k个排列 - Permutation Sequence |
C# |
C++ |
Java |
Python |
Medium |
59 |
螺旋矩阵 II - Spiral Matrix II |
C# |
C++ |
Java |
Python |
Medium |
58 |
最后一个单词的长度 - Length of Last Word |
C# |
C++ |
Java |
Python |
Easy |
57 |
插入区间 - Insert Interval |
C# |
C++ |
Java |
Python |
Hard |
56 |
合并区间 - Merge Intervals |
C# |
C++ |
Java |
Python |
Medium |
55 |
跳跃游戏 - Jump Game |
C# |
C++ |
Java |
Python |
Medium |
54 |
螺旋矩阵 - Spiral Matrix |
C# |
C++ |
Java |
Python |
Medium |
53 |
最大子序和 - Maximum Subarray |
C# |
C++ |
Java |
Python |
Easy |
52 |
N皇后 II - N-Queens II |
C# |
C++ |
Java |
Python |
Hard |
51 |
N皇后 - N-Queens |
C# |
C++ |
Java |
Python |
Hard |
50 |
Pow(x, n) - Pow(x, n) |
C# |
C++ |
Java |
Python |
Medium |
49 |
字母异位词分组 - Group Anagrams |
C# |
C++ |
Java |
Python |
Medium |
48 |
旋转图像 - Rotate Image |
C# |
C++ |
Java |
Python |
Medium |
47 |
全排列 II - Permutations II |
C# |
C++ |
Java |
Python |
Medium |
46 |
全排列 - Permutations |
C# |
C++ |
Java |
Python |
Medium |
45 |
跳跃游戏 II - Jump Game II |
C# |
C++ |
Java |
Python |
Hard |
44 |
通配符匹配 - Wildcard Matching |
C# |
C++ |
Java |
Python |
Hard |
43 |
字符串相乘 - Multiply Strings |
C# |
C++ |
Java |
Python |
Medium |
42 |
接雨水 - Trapping Rain Water |
C# |
C++ |
Java |
Python |
Hard |
41 |
缺失的第一个正数 - First Missing Positive |
C# |
C++ |
Java |
Python |
Hard |
40 |
组合总和 II - Combination Sum II |
C# |
C++ |
Java |
Python |
Medium |
39 |
组合总和 - Combination Sum |
C# |
C++ |
Java |
Python |
Medium |
38 |
报数 - Count and Say |
C# |
C++ |
Java |
Python |
Easy |
37 |
解数独 - Sudoku Solver |
C# |
C++ |
Java |
Python |
Hard |
36 |
有效的数独 - Valid Sudoku |
C# |
C++ |
Java |
Python |
Medium |
35 |
搜索插入位置 - Search Insert Position |
C# |
C++ |
Java |
Python |
Easy |
34 |
在排序数组中查找元素的第一个和最后一个位置 - Find First and Last Position of Element in Sorted Array |
C# |
C++ |
Java |
Python |
Medium |
33 |
搜索旋转排序数组 - Search in Rotated Sorted Array |
C# |
C++ |
Java |
Python |
Medium |
32 |
最长有效括号 - Longest Valid Parentheses |
C# |
C++ |
Java |
Python |
Hard |
31 |
下一个排列 - Next Permutation |
C# |
C++ |
Java |
Python |
Medium |
30 |
与所有单词相关联的字串 - Substring with Concatenation of All Words |
C# |
C++ |
Java |
Python |
Hard |
29 |
两数相除 - Divide Two Integers |
C# |
C++ |
Java |
Python |
Medium |
28 |
实现strStr() - Implement strStr() |
C# |
C++ |
Java |
Python |
Easy |
27 |
移除元素 - Remove Element |
C# |
C++ |
Java |
Python |
Easy |
26 |
删除排序数组中的重复项 - Remove Duplicates from Sorted Array |
C# |
C++ |
Java |
Python |
Easy |
25 |
k个一组翻转链表 - Reverse Nodes in k-Group |
C# |
C++ |
Java |
Python |
Hard |
24 |
两两交换链表中的节点 - Swap Nodes in Pairs |
C# |
C++ |
Java |
Python |
Medium |
23 |
合并K个排序链表 - Merge k Sorted Lists |
C# |
C++ |
Java |
Python |
Hard |
22 |
括号生成 - Generate Parentheses |
C# |
C++ |
Java |
Python |
Medium |
21 |
合并两个有序链表 - Merge Two Sorted Lists |
C# |
C++ |
Java |
Python |
Easy |
20 |
有效的括号 - Valid Parentheses |
C# |
C++ |
Java |
Python |
Easy |
19 |
删除链表的倒数第N个节点 - Remove Nth Node From End of List |
C# |
C++ |
Java |
Python |
Medium |
18 |
四数之和 - 4Sum |
C# |
C++ |
Java |
Python |
Medium |
17 |
电话号码的字母组合 - Letter Combinations of a Phone Number |
C# |
C++ |
Java |
Python |
Medium |
16 |
最接近的三数之和 - 3Sum Closest |
C# |
C++ |
Java |
Python |
Medium |
15 |
三数之和 - 3Sum |
C# |
C++ |
Java |
Python |
Medium |
14 |
最长公共前缀 - Longest Common Prefix |
C# |
C++ |
Java |
Python |
Easy |
13 |
罗马数字转整数 - Roman to Integer |
C# |
C++ |
Java |
Python |
Easy |
12 |
整数转罗马数字 - Integer to Roman |
C# |
C++ |
Java |
Python |
Medium |
11 |
盛最多水的容器 - Container With Most Water |
C# |
C++ |
Java |
Python |
Medium |
10 |
正则表达式匹配 - Regular Expression Matching |
C# |
C++ |
Java |
Python |
Hard |
9 |
回文数 - Palindrome Number |
C# |
C++ |
Java |
Python |
Easy |
8 |
字符串转整数 (atoi) - String to Integer (atoi) |
C# |
C++ |
Java |
Python |
Medium |
7 |
反转整数 - Reverse Integer |
C# |
C++ |
Java |
Python |
Easy |
6 |
Z字形变换 - ZigZag Conversion |
C# |
C++ |
Java |
Python |
Medium |
5 |
最长回文子串 - Longest Palindromic Substring |
C# |
C++ |
Java |
Python |
Medium |
4 |
两个排序数组的中位数 - Median of Two Sorted Arrays |
C# |
C++ |
Java |
Python |
Hard |
3 |
无重复字符的最长子串 - Longest Substring Without Repeating Characters |
C# |
C++ |
Java |
Python |
Medium |
2 |
两数相加 - Add Two Numbers |
C# |
C++ |
Java |
Python |
Medium |
1 |
两数之和 - Two Sum |
C# |
C++ |
Java |
Python |
Easy |