Skip to content

Latest commit

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

My accepted leetcode solutions

Last updated: 2019-11-12

This repository is automatically generated and deployed by leetcode-publisher.

My LeetCode homepage : jlice - Profile - LeetCode

#Title标题Difficulty
1254Number of Closed Islands统计封闭岛屿的数目
1253Reconstruct a 2-Row Binary Matrix重构 2 行二进制矩阵
1252Cells with Odd Values in a Matrix奇数值单元格的数目
1239Maximum Length of a Concatenated String with Unique Characters串联字符串的最大长度
1238Circular Permutation in Binary Representation循环码排列
1237Find Positive Integer Solution for a Given Equation找出给定方程的正整数解
1224Maximum Equal Frequency最大相等频率
1223Dice Roll Simulation掷骰子模拟
1222Queens That Can Attack the King可以攻击国王的皇后
1221Split a String in Balanced Strings分割平衡字符串
1219Path with Maximum Gold黄金矿工
1218Longest Arithmetic Subsequence of Given Difference最长定差子序列
1209Remove All Adjacent Duplicates in String II删除字符串中的所有相邻重复项 II
1191K-Concatenation Maximum SumK 次串联后最大子数组之和
1190Reverse Substrings Between Each Pair of Parentheses反转每对括号间的子串
1189Maximum Number of Balloons“气球” 的最大数量
1185Day of the Week一周中的第几天
1184Distance Between Bus Stops公交站间的距离
1171Remove Zero Sum Consecutive Nodes from Linked List从链表中删去总和值为零的连续节点
1170Compare Strings by Frequency of the Smallest Character比较字符串最小字母出现频次
1156Swap For Longest Repeated Character Substring单字符重复子串的最大长度
1143Longest Common Subsequence最长公共子序列
1114Print in Order按序打印
1111Maximum Nesting Depth of Two Valid Parentheses Strings有效括号的嵌套深度
1108Defanging an IP AddressIP 地址无效化
1071Greatest Common Divisor of Strings字符串的最大公因子
1035Uncrossed Lines不相交的线
1034Coloring A Border边框着色
1033Moving Stones Until Consecutive移动石子直到连续
1025Divisor Game除数博弈
1024Video Stitching视频拼接
1023Camelcase Matching驼峰式匹配
1022Sum of Root To Leaf Binary Numbers从根到叶的二进制数之和
1021Remove Outermost Parentheses删除最外层的括号
1020Number of Enclaves飞地的数量
1019Next Greater Node In Linked List链表中的下一个更大节点
1018Binary Prefix Divisible By 5可被 5 整除的二进制前缀
1016Binary String With Substrings Representing 1 To N子串能表示从 1 到 N 数字的二进制串
1014Best Sightseeing Pair最佳观光组合
1011Capacity To Ship Packages Within D Days在 D 天内送达包裹的能力
1010Pairs of Songs With Total Durations Divisible by 60总持续时间可被 60 整除的歌曲
1009Complement of Base 10 Integer十进制整数的反码
1008Construct Binary Search Tree from Preorder Traversal先序遍历构造二叉树
1007Minimum Domino Rotations For Equal Row行相等的最少多米诺旋转
1006Clumsy Factorial笨阶乘
1004Max Consecutive Ones III最大连续1的个数 III
1003Check If Word Is Valid After Substitutions检查替换后的词是否有效
1002Find Common Characters查找常用字符
999Available Captures for Rook车的可用捕获量
991Broken Calculator坏了的计算器
990Satisfiability of Equality Equations等式方程的可满足性
988Smallest String Starting From Leaf从叶结点开始的最小字符串
987Vertical Order Traversal of a Binary Tree二叉树的垂序遍历
984String Without AAA or BBB不含 AAA 或 BBB 的字符串
983Minimum Cost For Tickets最低票价
981Time Based Key-Value Store基于时间的键值存储
977Squares of a Sorted Array有序数组的平方
976Largest Perimeter Triangle三角形的最大周长
974Subarray Sums Divisible by K和可被 K 整除的子数组
973K Closest Points to Origin最接近原点的 K 个点
971Flip Binary Tree To Match Preorder Traversal翻转二叉树以匹配先序遍历
970Powerful Integers强整数
969Pancake Sorting煎饼排序
965Univalued Binary Tree单值二叉树
959Regions Cut By Slashes由斜杠划分区域
950Reveal Cards In Increasing Order按递增顺序显示卡牌
947Most Stones Removed with Same Row or Column移除最多的同行或同列石头
946Validate Stack Sequences验证栈序列
942DI String Match增减字符串匹配
941Valid Mountain Array有效的山脉数组
938Range Sum of BST二叉搜索树的范围和
937Reorder Data in Log Files重新排列日志文件
931Minimum Falling Path Sum下降路径最小和
930Binary Subarrays With Sum和相同的二元子数组
929Unique Email Addresses独特的电子邮件地址
926Flip String to Monotone Increasing将字符串翻转到单调递增
925Long Pressed Name长按键入
924Minimize Malware Spread尽量减少恶意软件的传播
9233Sum With Multiplicity三数之和的多种可能
922Sort Array By Parity II按奇偶排序数组 II
921Minimum Add to Make Parentheses Valid使括号有效的最少添加
917Reverse Only Letters仅仅反转字母
916Word Subsets单词子集
914X of a Kind in a Deck of Cards卡牌分组
911Online Election在线选举
908Smallest Range I最小差值 I
905Sort Array By Parity按奇偶排序数组
897Increasing Order Search Tree递增顺序查找树
896Monotonic Array单调数列
893Groups of Special-Equivalent Strings特殊等价字符串组
892Surface Area of 3D Shapes三维形体的表面积
890Find and Replace Pattern查找和替换模式
888Fair Candy Swap公平的糖果交换
885Spiral Matrix III螺旋矩阵 III
884Uncommon Words from Two Sentences两句话中的不常见单词
883Projection Area of 3D Shapes三维形体投影面积
877Stone Game石子游戏
876Middle of the Linked List链表的中间结点
875Koko Eating Bananas爱吃香蕉的珂珂
872Leaf-Similar Trees叶子相似的树
868Binary Gap二进制间距
867Transpose Matrix转置矩阵
859Buddy Strings亲密字符串
856Score of Parentheses括号的分数
852Peak Index in a Mountain Array山脉数组的峰顶索引
849Maximize Distance to Closest Person到最近的人的最大距离
844Backspace String Compare比较含退格的字符串
840Magic Squares In Grid矩阵中的幻方
836Rectangle Overlap矩形重叠
832Flipping an Image翻转图像
830Positions of Large Groups较大分组的位置
824Goat Latin山羊拉丁文
821Shortest Distance to a Character字符的最短距离
819Most Common Word最常见的单词
817Linked List Components链表组件
816Ambiguous Coordinates模糊坐标
812Largest Triangle Area最大三角形面积
811Subdomain Visit Count子域名访问计数
804Unique Morse Code Words唯一摩尔斯密码词
791Custom Sort String自定义字符串排序
788Rotated Digits旋转数字
784Letter Case Permutation字母大小写全排列
781Rabbits in Forest森林中的兔子
771Jewels and Stones宝石与石头
769Max Chunks To Make Sorted最多能完成排序的块
766Toeplitz Matrix托普利茨矩阵
748Shortest Completing Word最短完整词
747Largest Number At Least Twice of Others至少是其他数字两倍的最大数
746Min Cost Climbing Stairs使用最小花费爬楼梯
744Find Smallest Letter Greater Than Target寻找比目标字母大的最小字母
740Delete and Earn删除与获得点数
739Daily Temperatures每日温度
733Flood Fill图像渲染
728Self Dividing Numbers自除数
725Split Linked List in Parts分隔链表
724Find Pivot Index寻找数组的中心索引
720Longest Word in Dictionary词典中最长的单词
718Maximum Length of Repeated Subarray最长重复子数组
7171-bit and 2-bit Characters1比特与2比特字符
714Best Time to Buy and Sell Stock with Transaction Fee买卖股票的最佳时机含手续费
709To Lower Case转换成小写字母
707Design Linked List设计链表
704Binary Search二分查找
703Kth Largest Element in a Stream数据流中的第K大元素
700Search in a Binary Search Tree二叉搜索树中的搜索
697Degree of an Array数组的度
696Count Binary Substrings计数二进制子串
695Max Area of Island岛屿的最大面积
693Binary Number with Alternating Bits交替位二进制数
690Employee Importance员工的重要性
687Longest Univalue Path最长同值路径
686Repeated String Match重复叠加字符串匹配
682Baseball Game棒球比赛
680Valid Palindrome II验证回文字符串 Ⅱ
676Implement Magic Dictionary实现一个魔法字典
674Longest Continuous Increasing Subsequence最长连续递增序列
671Second Minimum Node In a Binary Tree二叉树中第二小的节点
669Trim a Binary Search Tree修剪二叉搜索树
667Beautiful Arrangement II优美的排列 II
665Non-decreasing Array非递减数列
661Image Smoother图片平滑器
658Find K Closest Elements找到 K 个最接近的元素
657Robot Return to Origin机器人能否返回原点
653Two Sum IV - Input is a BST两数之和 IV - 输入 BST
6502 Keys Keyboard只有两个键的键盘
648Replace Words单词替换
647Palindromic Substrings回文子串
645Set Mismatch错误的集合
643Maximum Average Subarray I子数组最大平均数 I
637Average of Levels in Binary Tree二叉树的层平均值
633Sum of Square Numbers平方数之和
628Maximum Product of Three Numbers三个数的最大乘积
627Swap Salary交换工资
621Task Scheduler任务调度器
620Not Boring Movies有趣的电影
617Merge Two Binary Trees合并二叉树
609Find Duplicate File in System在系统中查找重复文件
606Construct String from Binary Tree根据二叉树创建字符串
605Can Place Flowers种花问题
599Minimum Index Sum of Two Lists两个列表的最小索引总和
598Range Addition II范围求和 II
596Classes More Than 5 Students超过5名学生的课
595Big Countries大的国家
594Longest Harmonious Subsequence最长和谐子序列
590N-ary Tree Postorder TraversalN叉树的后序遍历
589N-ary Tree Preorder TraversalN叉树的前序遍历
583Delete Operation for Two Strings两个字符串的删除操作
581Shortest Unsorted Continuous Subarray最短无序连续子数组
575Distribute Candies分糖果
572Subtree of Another Tree另一个树的子树
566Reshape the Matrix重塑矩阵
565Array Nesting数组嵌套
563Binary Tree Tilt二叉树的坡度
561Array Partition I数组拆分 I
560Subarray Sum Equals K和为K的子数组
559Maximum Depth of N-ary TreeN叉树的最大深度
557Reverse Words in a String III反转字符串中的单词 III
553Optimal Division最优除法
551Student Attendance Record I学生出勤记录 I
543Diameter of Binary Tree二叉树的直径
541Reverse String II反转字符串 II
539Minimum Time Difference最小时间差
538Convert BST to Greater Tree把二叉搜索树转换为累加树
537Complex Number Multiplication复数乘法
532K-diff Pairs in an Array数组中的K-diff数对
530Minimum Absolute Difference in BST二叉搜索树的最小绝对差
528Random Pick with Weight按权重随机选择
521Longest Uncommon Subsequence I 最长特殊序列 Ⅰ
520Detect Capital检测大写字母
509Fibonacci Number斐波那契数
507Perfect Number完美数
506Relative Ranks相对名次
504Base 7七进制数
503Next Greater Element II下一个更大元素 II
501Find Mode in Binary Search Tree二叉搜索树中的众数
500Keyboard Row键盘行
498Diagonal Traverse对角线遍历
497Random Point in Non-overlapping Rectangles非重叠矩形中的随机点
496Next Greater Element I下一个更大元素 I
495Teemo Attacking提莫攻击
494Target Sum目标和
492Construct the Rectangle构造矩形
485Max Consecutive Ones最大连续1的个数
482License Key Formatting密钥格式化
476Number Complement数字的补数
475Heaters供暖器
463Island Perimeter岛屿的周长
461Hamming Distance汉明距离
460LFU CacheLFU缓存
459Repeated Substring Pattern重复的子字符串
456132 Pattern132模式
455Assign Cookies分发饼干
4544Sum II四数相加 II
453Minimum Moves to Equal Array Elements最小移动次数使数组元素相等
452Minimum Number of Arrows to Burst Balloons用最少数量的箭引爆气球
451Sort Characters By Frequency根据字符出现频率排序
448Find All Numbers Disappeared in an Array找到所有数组中消失的数字
447Number of Boomerangs回旋镖的数量
445Add Two Numbers II两数相加 II
443String Compression压缩字符串
442Find All Duplicates in an Array数组中重复的数据
441Arranging Coins排列硬币
438Find All Anagrams in a String找到字符串中所有字母异位词
437Path Sum III路径总和 III
436Find Right Interval寻找右区间
434Number of Segments in a String字符串中的单词数
430Flatten a Multilevel Doubly Linked List扁平化多级双向链表
429N-ary Tree Level Order TraversalN叉树的层序遍历
416Partition Equal Subset Sum分割等和子集
415Add Strings字符串相加
414Third Maximum Number第三大的数
413Arithmetic Slices等差数列划分
412Fizz BuzzFizz Buzz
409Longest Palindrome最长回文串
406Queue Reconstruction by Height根据身高重建队列
405Convert a Number to Hexadecimal数字转换为十六进制数
404Sum of Left Leaves左叶子之和
401Binary Watch二进制手表
400Nth Digit第N个数字
398Random Pick Index随机数索引
397Integer Replacement整数替换
395Longest Substring with At Least K Repeating Characters至少有K个重复字符的最长子串
394Decode String字符串解码
393UTF-8 ValidationUTF-8 编码验证
392Is Subsequence判断子序列
389Find the Difference找不同
387First Unique Character in a String字符串中的第一个唯一字符
386Lexicographical Numbers字典序排数
385Mini Parser迷你语法分析器
384Shuffle an Array打乱数组
383Ransom Note赎金信
382Linked List Random Node链表随机节点
380Insert Delete GetRandom O(1)常数时间插入、删除和获取随机元素
378Kth Smallest Element in a Sorted Matrix有序矩阵中第K小的元素
377Combination Sum IV组合总和 Ⅳ
376Wiggle Subsequence摆动序列
375Guess Number Higher or Lower II猜数字大小 II
374Guess Number Higher or Lower猜数字大小
373Find K Pairs with Smallest Sums查找和最小的K对数字
371Sum of Two Integers两整数之和
368Largest Divisible Subset最大整除子集
367Valid Perfect Square有效的完全平方数
357Count Numbers with Unique Digits计算各个位数不同的数字个数
355Design Twitter设计推特
350Intersection of Two Arrays II两个数组的交集 II
349Intersection of Two Arrays两个数组的交集
347Top K Frequent Elements前 K 个高频元素
345Reverse Vowels of a String反转字符串中的元音字母
344Reverse String反转字符串
343Integer Break整数拆分
342Power of Four4的幂
341Flatten Nested List Iterator扁平化嵌套列表迭代器
338Counting Bits比特位计数
337House Robber III打家劫舍 III
334Increasing Triplet Subsequence递增的三元子序列
332Reconstruct Itinerary重新安排行程
331Verify Preorder Serialization of a Binary Tree验证二叉树的前序序列化
328Odd Even Linked List奇偶链表
326Power of Three3的幂
322Coin Change零钱兑换
319Bulb Switcher灯泡开关
318Maximum Product of Word Lengths最大单词长度乘积
310Minimum Height Trees最小高度树
309Best Time to Buy and Sell Stock with Cooldown最佳买卖股票时机含冷冻期
307Range Sum Query - Mutable区域和检索 - 数组可修改
306Additive Number累加数
304Range Sum Query 2D - Immutable二维区域和检索 - 矩阵不可变
303Range Sum Query - Immutable区域和检索 - 数组不可变
300Longest Increasing Subsequence最长上升子序列
299Bulls and Cows猜数字游戏
295Find Median from Data Stream数据流的中位数
292Nim GameNim 游戏
290Word Pattern单词规律
289Game of Life生命游戏
287Find the Duplicate Number寻找重复数
284Peeking Iterator顶端迭代器
283Move Zeroes移动零
279Perfect Squares完全平方数
278First Bad Version第一个错误的版本
275H-Index IIH指数 II
274H-IndexH指数
268Missing Number缺失数字
264Ugly Number II丑数 II
263Ugly Number丑数
258Add Digits各位相加
257Binary Tree Paths二叉树的所有路径
242Valid Anagram有效的字母异位词
241Different Ways to Add Parentheses为运算表达式设计优先级
240Search a 2D Matrix II搜索二维矩阵 II
239Sliding Window Maximum滑动窗口最大值
238Product of Array Except Self除自身以外数组的乘积
237Delete Node in a Linked List删除链表中的节点
236Lowest Common Ancestor of a Binary Tree二叉树的最近公共祖先
235Lowest Common Ancestor of a Binary Search Tree二叉搜索树的最近公共祖先
234Palindrome Linked List回文链表
232Implement Queue using Stacks用栈实现队列
231Power of Two2的幂
230Kth Smallest Element in a BST二叉搜索树中第K小的元素
229Majority Element II求众数 II
228Summary Ranges汇总区间
227Basic Calculator II基本计算器 II
226Invert Binary Tree翻转二叉树
225Implement Stack using Queues用队列实现栈
223Rectangle Area矩形面积
222Count Complete Tree Nodes完全二叉树的节点个数
221Maximal Square最大正方形
219Contains Duplicate II存在重复元素 II
217Contains Duplicate存在重复元素
216Combination Sum III组合总和 III
215Kth Largest Element in an Array数组中的第K个最大元素
213House Robber II打家劫舍 II
212Word Search II单词搜索 II
209Minimum Size Subarray Sum长度最小的子数组
208Implement Trie (Prefix Tree)实现 Trie (前缀树)
206Reverse Linked List反转链表
205Isomorphic Strings同构字符串
204Count Primes计数质数
203Remove Linked List Elements移除链表元素
202Happy Number快乐数
201Bitwise AND of Numbers Range数字范围按位与
200Number of Islands岛屿数量
199Binary Tree Right Side View二叉树的右视图
198House Robber打家劫舍
196Delete Duplicate Emails删除重复的电子邮箱
195Tenth Line第十行
194Transpose File转置文件
193Valid Phone Numbers有效电话号码
192Word Frequency统计词频
191Number of 1 Bits位1的个数
190Reverse Bits颠倒二进制位
189Rotate Array旋转数组
188Best Time to Buy and Sell Stock IV买卖股票的最佳时机 IV
187Repeated DNA Sequences重复的DNA序列
183Customers Who Never Order从不订购的客户
182Duplicate Emails查找重复的电子邮箱
181Employees Earning More Than Their Managers超过经理收入的员工
179Largest Number最大数
176Second Highest Salary第二高的薪水
175Combine Two Tables组合两个表
173Binary Search Tree Iterator二叉搜索树迭代器
172Factorial Trailing Zeroes阶乘后的零
171Excel Sheet Column NumberExcel表列序号
169Majority Element求众数
168Excel Sheet Column TitleExcel表列名称
167Two Sum II - Input array is sorted两数之和 II - 输入有序数组
166Fraction to Recurring Decimal分数到小数
165Compare Version Numbers比较版本号
162Find Peak Element寻找峰值
160Intersection of Two Linked Lists相交链表
155Min Stack最小栈
154Find Minimum in Rotated Sorted Array II寻找旋转排序数组中的最小值 II
153Find Minimum in Rotated Sorted Array寻找旋转排序数组中的最小值
152Maximum Product Subarray乘积最大子序列
151Reverse Words in a String翻转字符串里的单词
150Evaluate Reverse Polish Notation逆波兰表达式求值
148Sort List排序链表
147Insertion Sort List对链表进行插入排序
146LRU CacheLRU缓存机制
145Binary Tree Postorder Traversal二叉树的后序遍历
144Binary Tree Preorder Traversal二叉树的前序遍历
143Reorder List重排链表
142Linked List Cycle II环形链表 II
141Linked List Cycle环形链表
140Word Break II单词拆分 II
139Word Break单词拆分
138Copy List with Random Pointer复制带随机指针的链表
137Single Number II只出现一次的数字 II
136Single Number只出现一次的数字
134Gas Station加油站
133Clone Graph克隆图
131Palindrome Partitioning分割回文串
130Surrounded Regions被围绕的区域
129Sum Root to Leaf Numbers求根到叶子节点数字之和
128Longest Consecutive Sequence最长连续序列
127Word Ladder单词接龙
125Valid Palindrome验证回文串
124Binary Tree Maximum Path Sum二叉树中的最大路径和
123Best Time to Buy and Sell Stock III买卖股票的最佳时机 III
122Best Time to Buy and Sell Stock II买卖股票的最佳时机 II
121Best Time to Buy and Sell Stock买卖股票的最佳时机
120Triangle三角形最小路径和
119Pascal's Triangle II杨辉三角 II
118Pascal's Triangle杨辉三角
117Populating Next Right Pointers in Each Node II填充每个节点的下一个右侧节点指针 II
116Populating Next Right Pointers in Each Node填充每个节点的下一个右侧节点指针
114Flatten Binary Tree to Linked List二叉树展开为链表
113Path Sum II路径总和 II
112Path Sum路径总和
111Minimum Depth of Binary Tree二叉树的最小深度
110Balanced Binary Tree平衡二叉树
109Convert Sorted List to Binary Search Tree有序链表转换二叉搜索树
108Convert Sorted Array to Binary Search Tree将有序数组转换为二叉搜索树
107Binary Tree Level Order Traversal II二叉树的层次遍历 II
106Construct Binary Tree from Inorder and Postorder Traversal从中序与后序遍历序列构造二叉树
105Construct Binary Tree from Preorder and Inorder Traversal从前序与中序遍历序列构造二叉树
104Maximum Depth of Binary Tree二叉树的最大深度
103Binary Tree Zigzag Level Order Traversal二叉树的锯齿形层次遍历
102Binary Tree Level Order Traversal二叉树的层次遍历
101Symmetric Tree对称二叉树
100Same Tree相同的树
99Recover Binary Search Tree恢复二叉搜索树
98Validate Binary Search Tree验证二叉搜索树
97Interleaving String交错字符串
96Unique Binary Search Trees不同的二叉搜索树
95Unique Binary Search Trees II不同的二叉搜索树 II
94Binary Tree Inorder Traversal二叉树的中序遍历
93Restore IP Addresses复原IP地址
92Reverse Linked List II反转链表 II
91Decode Ways解码方法
90Subsets II子集 II
89Gray Code格雷编码
88Merge Sorted Array合并两个有序数组
86Partition List分隔链表
85Maximal Rectangle最大矩形
84Largest Rectangle in Histogram柱状图中最大的矩形
83Remove Duplicates from Sorted List删除排序链表中的重复元素
82Remove Duplicates from Sorted List II删除排序链表中的重复元素 II
81Search in Rotated Sorted Array II搜索旋转排序数组 II
80Remove Duplicates from Sorted Array II删除排序数组中的重复项 II
79Word Search单词搜索
78Subsets子集
77Combinations组合
76Minimum Window Substring最小覆盖子串
75Sort Colors颜色分类
74Search a 2D Matrix搜索二维矩阵
73Set Matrix Zeroes矩阵置零
72Edit Distance编辑距离
71Simplify Path简化路径
70Climbing Stairs爬楼梯
69Sqrt(x)x 的平方根
67Add Binary二进制求和
66Plus One加一
65Valid Number有效数字
64Minimum Path Sum最小路径和
63Unique Paths II不同路径 II
62Unique Paths不同路径
61Rotate List旋转链表
60Permutation Sequence第k个排列
59Spiral Matrix II螺旋矩阵 II
58Length of Last Word最后一个单词的长度
56Merge Intervals合并区间
55Jump Game跳跃游戏
54Spiral Matrix螺旋矩阵
53Maximum Subarray最大子序和
50Pow(x, n)Pow(x, n)
49Group Anagrams字母异位词分组
48Rotate Image旋转图像
47Permutations II全排列 II
46Permutations全排列
44Wildcard Matching通配符匹配
43Multiply Strings字符串相乘
42Trapping Rain Water接雨水
41First Missing Positive缺失的第一个正数
40Combination Sum II组合总和 II
39Combination Sum组合总和
38Count and Say报数
36Valid Sudoku有效的数独
35Search Insert Position搜索插入位置
34Find First and Last Position of Element in Sorted Array在排序数组中查找元素的第一个和最后一个位置
33Search in Rotated Sorted Array搜索旋转排序数组
32Longest Valid Parentheses最长有效括号
31Next Permutation下一个排列
29Divide Two Integers两数相除
28Implement strStr()实现 strStr()
27Remove Element移除元素
26Remove Duplicates from Sorted Array删除排序数组中的重复项
25Reverse Nodes in k-GroupK 个一组翻转链表
24Swap Nodes in Pairs两两交换链表中的节点
23Merge k Sorted Lists合并K个排序链表
22Generate Parentheses括号生成
21Merge Two Sorted Lists合并两个有序链表
20Valid Parentheses有效的括号
19Remove Nth Node From End of List删除链表的倒数第N个节点
184Sum四数之和
17Letter Combinations of a Phone Number电话号码的字母组合
163Sum Closest最接近的三数之和
153Sum三数之和
14Longest Common Prefix最长公共前缀
13Roman to Integer罗马数字转整数
12Integer to Roman整数转罗马数字
11Container With Most Water盛最多水的容器
10Regular Expression Matching正则表达式匹配
9Palindrome Number回文数
8String to Integer (atoi)字符串转换整数 (atoi)
7Reverse Integer整数反转
6ZigZag ConversionZ 字形变换
5Longest Palindromic Substring最长回文子串
4Median of Two Sorted Arrays寻找两个有序数组的中位数
3Longest Substring Without Repeating Characters无重复字符的最长子串
2Add Two Numbers两数相加
1Two Sum两数之和

About

🚀My accepted leetcode solutions! 我的LeetCode刷题之路,主要使用C++、Python、Java。

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors