
LeetCode300-java
文章平均质量分 66
LeetCode前300道
之虎者也
~
展开
-
LeetCode T50 Pow(x, n)
力扣第50题,快速幂原创 2021-01-25 16:14:28 · 349 阅读 · 1 评论 -
LeetCode T49 Group Anagrams
力扣第49题,字符串原创 2021-01-24 15:14:56 · 236 阅读 · 0 评论 -
LeetCode T48 Rotate Image
力扣第48题,矩阵顺时针旋转原创 2021-01-23 20:40:50 · 211 阅读 · 0 评论 -
LeetCode T47 Permutations II
力扣第47题,存在重复的全排列原创 2021-01-22 22:39:31 · 144 阅读 · 0 评论 -
LeetCode T46 Permutations
力扣第46题,全排列,递归回溯原创 2021-01-21 16:50:12 · 266 阅读 · 0 评论 -
LeetCode T45 Jump Game II
力扣第45题,贪心原创 2021-01-20 17:44:07 · 216 阅读 · 0 评论 -
【本题隔几日再议】LeetCode T44 Wildcard Matching
力扣第44题,动规dp原创 2021-01-19 23:12:01 · 183 阅读 · 0 评论 -
LeetCode T43 Multiply Strings
力扣第43题,模拟乘法原创 2021-01-18 16:08:58 · 157 阅读 · 0 评论 -
LeetCode T42 Trapping Rain Water
力扣第42题原创 2021-01-17 16:31:37 · 228 阅读 · 0 评论 -
LeetCode T41 First Missing Positive
力扣第41题,哈希改原创 2021-01-16 16:57:58 · 198 阅读 · 0 评论 -
LeetCode T40 Combination Sum II
力扣第40题,递归回溯原创 2021-01-15 15:57:59 · 119 阅读 · 0 评论 -
LeetCode T39 Combination Sum
力扣第39题,递归回溯原创 2021-01-14 15:51:11 · 190 阅读 · 0 评论 -
LeetCode T38 Count and Say
力扣第38题,递归原创 2021-01-13 21:28:45 · 198 阅读 · 0 评论 -
LeetCode T37 Sudoku Solver
力扣第37题,递归回溯原创 2021-01-12 18:53:52 · 240 阅读 · 0 评论 -
LeetCode T36 Valid Sudoku
力扣第36题,数独合理性原创 2021-01-11 20:43:45 · 153 阅读 · 0 评论 -
LeetCode T35 Search Insert Position
力扣第35题,二分原创 2021-01-10 11:46:11 · 189 阅读 · 0 评论 -
LeetCode T34 Find First and Last Position of Element in Sorted Array
力扣第34题,O(logn)查找原创 2021-01-09 12:19:36 · 239 阅读 · 0 评论 -
LeetCode T33 Search in Rotated Sorted Array
力扣第33题,二分原创 2021-01-08 16:05:04 · 186 阅读 · 0 评论 -
LeetCode T32 Longest Valid Parentheses
力扣第32题,括号匹配原创 2021-01-07 12:21:17 · 119 阅读 · 0 评论 -
LeetCode T31 Next Permutation
力扣第31题,排列原创 2021-01-06 15:17:07 · 141 阅读 · 0 评论 -
LeetCode T30 Substring with Concatenation of All Words
力扣第30题,字符串原创 2021-01-05 17:33:28 · 156 阅读 · 0 评论 -
LeetCode T29 Divide Two Integers
力扣第29题,模拟除法原创 2021-01-04 14:14:43 · 187 阅读 · 1 评论 -
LeetCode T28 Implement strStr()
力扣第28题,找子串原创 2021-01-03 16:16:22 · 109 阅读 · 0 评论 -
LeetCode T27 Remove Element
力扣第27题,移出指定值原创 2021-01-03 15:50:46 · 165 阅读 · 0 评论 -
LeetCode T26 Remove Duplicates from Sorted Array
力扣第26题,数组去重原创 2021-01-03 15:39:06 · 190 阅读 · 0 评论 -
LeetCode T25 Reverse Nodes in k-Group
力扣第25题,链表原创 2021-01-03 22:09:36 · 194 阅读 · 0 评论 -
LeetCode T24 Swap Nodes in Pairs
力扣第24题,链表原创 2020-12-30 17:48:11 · 97 阅读 · 0 评论 -
LeetCode T23 Merge k Sorted Lists
力扣第23题,多个有序链表合并原创 2020-12-29 13:44:03 · 119 阅读 · 0 评论 -
LeetCode T22 Generate Parentheses
递归,括号匹配原创 2020-12-28 23:15:41 · 122 阅读 · 0 评论 -
LeetCode T21 Merge Two Sorted Lists
力扣第21题,有序链表合并原创 2020-12-27 14:11:19 · 115 阅读 · 0 评论 -
LeetCode T20 Valid Parentheses
题目地址:中文:https://leetcode-cn.com/problems/valid-parentheses/英文:https://leetcode.com/problems/valid-parentheses/题目描述:Given a string s containing just the characters ‘(’, ‘)’, ‘{’, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.An input string原创 2020-12-26 14:50:43 · 106 阅读 · 0 评论 -
LeetCode T19 Remove Nth Node From End of List
题目地址:中文:https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/英文:https://leetcode.com/problems/remove-nth-node-from-end-of-list/题目描述:Given the head of a linked list, remove the nth node from the end of the list and return its head.Follow u原创 2020-12-25 10:53:55 · 93 阅读 · 0 评论 -
LeetCode T18 4Sum
题目地址:中文:https://leetcode-cn.com/problems/4sum/英文:https://leetcode.com/problems/4sum/题目描述:Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in原创 2020-12-24 23:44:20 · 76 阅读 · 1 评论 -
LeetCode T17 Letter Combinations of a Phone Number
题目地址:中文:https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number/英文:https://leetcode.com/problems/letter-combinations-of-a-phone-number/题目描述:Given a string containing digits from 2-9 inclusive, return all possible letter combinations that原创 2020-12-23 17:00:39 · 191 阅读 · 0 评论 -
LeetCode T16 3Sum Closest
题目地址:中文:https://leetcode-cn.com/problems/3sum-closest/英文:https://leetcode.com/problems/3sum-closest/题目描述:Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the原创 2020-12-22 11:12:17 · 127 阅读 · 0 评论 -
LeetCode T15 3Sum
题目地址:中文:https://leetcode-cn.com/problems/3sum/英文:https://leetcode.com/problems/3sum/题目描述:Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.N原创 2020-12-21 20:23:58 · 145 阅读 · 0 评论 -
LeetCode T14 Longest Common Prefix
题目地址:中文:https://leetcode-cn.com/problems/longest-common-prefix/英文:https://leetcode.com/problems/longest-common-prefix/题目描述:Write a function to find the longest common prefix string amongst an array of strings.If there is no common prefix, return an em原创 2020-12-20 11:51:27 · 146 阅读 · 1 评论 -
LeetCode T13 Roman to Integer
题目地址:中文:https://leetcode-cn.com/problems/roman-to-integer/英文:https://leetcode.com/problems/roman-to-integer/题目描述:Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.Symbol ValueI 1V 5X原创 2020-12-19 15:51:45 · 103 阅读 · 1 评论 -
LeetCode T12 Integer to Roman
题目地址:中文:https://leetcode-cn.com/problems/integer-to-roman/英文:https://leetcode.com/problems/integer-to-roman/题目描述:Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.Symbol ValueI 1V 5X原创 2020-12-18 14:11:42 · 96 阅读 · 0 评论 -
LeetCode T11 Container With Most Water
题目地址:中文:https://leetcode-cn.com/problems/container-with-most-water/英文:https://leetcode.com/problems/container-with-most-water/题目描述:Given n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). n vertical lines are d原创 2020-12-18 12:18:17 · 101 阅读 · 0 评论