File tree
793 files changed
+70120
-36312
lines changed- images
- lcof2
- 剑指 Offer II 109. 开密码锁
- 剑指 Offer II 110. 所有路径
- 剑指 Offer II 111. 计算除法
- 剑指 Offer II 112. 最长递增路径
- 剑指 Offer II 113. 课程顺序
- 剑指 Offer II 114. 外星文字典
- 剑指 Offer II 115. 重建序列
- 剑指 Offer II 116. 朋友圈
- 剑指 Offer II 117. 相似的字符串
- 剑指 Offer II 118. 多余的边
- 剑指 Offer II 119. 最长连续序列
- lcof
- 面试题11. 旋转数组的最小数字
- 面试题20. 表示数值的字符串
- 面试题26. 树的子结构
- 面试题44. 数字序列中某一位的数字
- 面试题46. 把数字翻译成字符串
- 面试题67. 把字符串转换成整数
- lcp
- LCP 01. 猜数字
- LCP 02. 分式化简
- LCP 03. 机器人大冒险
- LCP 05. 发 LeetCoin
- LCP 06. 拿硬币
- LCP 07. 传递信息
- LCP 08. 剧情触发时间
- LCP 09. 最小跳跃次数
- LCP 10. 二叉树任务调度
- LCP 11. 期望个数统计
- LCP 12. 小张刷题计划
- LCP 17. 速算机器人
- LCP 18. 早餐组合
- LCP 19. 秋叶收藏集
- LCP 22. 黑白方格画
- LCP 24. 数字游戏
- LCP 25. 古董键盘
- LCP 28. 采购方案
- LCP 33. 蓄水
- LCP 34. 二叉树染色
- LCP 39. 无人机方阵
- LCP 40. 心算挑战
- LCP 41. 黑白翻转棋
- LCP 44. 开幕式焰火
- LCP 50. 宝石补给
- LCP 51. 烹饪料理
- LCP 52. 二叉搜索树染色
- LCP 55. 采集果实
- solution
- 0000-0099
- 0008.String to Integer (atoi)
- 0034.Find First and Last Position of Element in Sorted Array
- 0053.Maximum Subarray
- 0100-0199
- 0160.Intersection of Two Linked Lists
- 0191.Number of 1 Bits
- 0200-0299
- 0209.Minimum Size Subarray Sum
- 0219.Contains Duplicate II
- 0263.Ugly Number
- 0300-0399
- 0370.Range Addition
- 0384.Shuffle an Array
- 0400-0499
- 0410.Split Array Largest Sum
- 0490.The Maze
- 0496.Next Greater Element I
- 0500-0599
- 0500.Keyboard Row
- 0515.Find Largest Value in Each Tree Row
- 0540.Single Element in a Sorted Array
- 0555.Split Concatenated Strings
- 0600-0699
- 0632.Smallest Range Covering Elements from K Lists
- 0636.Exclusive Time of Functions
- 0646.Maximum Length of Pair Chain
- 0661.Image Smoother
- 0670.Maximum Swap
- 0684.Redundant Connection
- 0685.Redundant Connection II
- 0687.Longest Univalue Path
- 0692.Top K Frequent Words
- 0700-0799
- 0729.My Calendar I
- 0731.My Calendar II
- 0777.Swap Adjacent in LR String
- 0800-0899
- 0825.Friends Of Appropriate Ages
- 0830.Positions of Large Groups
- 0862.Shortest Subarray with Sum at Least K
- 0864.Shortest Path to Get All Keys
- 0865.Smallest Subtree with all the Deepest Nodes
- 0867.Transpose Matrix
- 0868.Binary Gap
- 0900-0999
- 0908.Smallest Range I
- 0909.Snakes and Ladders
- 0931.Minimum Falling Path Sum
- images
- 0951.Flip Equivalent Binary Trees
- 1000-1099
- 1084.Sales Analysis III
- 1095.Find in Mountain Array
- 1200-1299
- 1233.Remove Sub-Folders from the Filesystem
- 1257.Smallest Common Region
- 1258.Synonymous Sentences
- 1277.Count Square Submatrices with All Ones
- 1300-1399
- 1317.Convert Integer to the Sum of Two No-Zero Integers
- 1319.Number of Operations to Make Network Connected
- 1393.Capital GainLoss
- 1500-1599
- 1545.Find Kth Bit in Nth Binary String
- 1547.Minimum Cost to Cut a Stick
- 1574.Shortest Subarray to be Removed to Make Array Sorted
- 1800-1899
- 1808.Maximize Number of Nice Divisors
- 1859.Sorting the Sentence
- 1898.Maximum Number of Removable Characters
- 1900-1999/1957.Delete Characters to Make Fancy String
- 2000-2099
- 2056.Number of Valid Move Combinations On Chessboard
- 2090.K Radius Subarray Averages
- 2200-2299
- 2222.Number of Ways to Select Buildings
- 2226.Maximum Candies Allocated to K Children
- 2251.Number of Flowers in Full Bloom
- 2259.Remove Digit From Number to Maximize Result
- 2265.Count Nodes Equal to Average of Subtree
- 2267.Check if There Is a Valid Parentheses String Path
- 2270.Number of Ways to Split Array
- 2300-2399/2361.Minimum Costs Using the Train Line
- 2400-2499/2458.Height of Binary Tree After Subtree Removal Queries
- 2500-2599
- 2501.Longest Square Streak in an Array
- 2524.Maximum Frequency Score of a Subarray
- 2526.Find Consecutive Integers from a Data Stream
- 2528.Maximize the Minimum Powered City
- 2530.Maximal Score After Applying K Operations
- 2532.Time to Cross a Bridge
- 2534.Time Taken to Cross the Door
- 2600-2699
- 2601.Prime Subtraction Operation
- 2623.Memoize
- 2641.Cousins in Binary Tree II
- 2685.Count the Number of Complete Components
- 2694.Event Emitter
- 2800-2899/2862.Maximum Element-Sum of a Complete Subset of Indices
- 2900-2999
- 2904.Shortest and Lexicographically Smallest Beautiful String
- 2944.Minimum Number of Coins for Fruits
- 3000-3099
- 3011.Find if Array Can Be Sorted
- 3038.Maximum Number of Operations With the Same Score I
- 3043.Find the Length of the Longest Common Prefix
- 3100-3199
- 3163.String Compression III
- 3165.Maximum Sum of Subsequence With Non-adjacent Elements
- 3180.Maximum Total Reward Using Operations I
- 3181.Maximum Total Reward Using Operations II
- 3193.Count the Number of Inversions
- 3200-3299
- 3211.Generate Binary Strings Without Adjacent Zeros
- 3222.Find the Winning Player in Coin Game
- 3235.Check if the Rectangle Corner Is Reachable
- images
- 3240.Minimum Number of Flips to Make Binary Grid Palindromic II
- 3242.Design Neighbor Sum Service
- 3243.Shortest Distance After Road Addition Queries I
- 3254.Find the Power of K-Size Subarrays I
- 3255.Find the Power of K-Size Subarrays II
- 3258.Count Substrings That Satisfy K-Constraint I
- 3259.Maximum Energy Boost From Two Drinks
- 3261.Count Substrings That Satisfy K-Constraint II
- 3300-3399
- 3308.Find Top Performing Driver
- 3314.Construct the Minimum Bitwise Array I
- 3315.Construct the Minimum Bitwise Array II
- 3316.Find Maximum Removals From Source String
- 3317.Find the Number of Possible Ways for an Event
- 3318.Find X-Sum of All K-Long Subarrays I
- 3319.K-th Largest Perfect Subtree Size in Binary Tree
- 3320.Count The Number of Winning Sequences
- 3321.Find X-Sum of All K-Long Subarrays II
- 3322.Premier League Table Ranking III
- 3323.Minimize Connected Groups by Inserting Interval
- 3324.Find the Sequence of Strings Appeared on the Screen
- 3325.Count Substrings With K-Frequency Characters I
- 3326.Minimum Division Operations to Make Array Non Decreasing
- 3327.Check if DFS Strings Are Palindromes
- images
- 3328.Find Cities in Each State II
- 3329.Count Substrings With K-Frequency Characters II
- 3330.Find the Original Typed String I
- 3331.Find Subtree Sizes After Changes
- images
- 3332.Maximum Points Tourist Can Earn
- 3333.Find the Original Typed String II
- 3334.Find the Maximum Factor Score of Array
- 3335.Total Characters in String After Transformations I
- 3336.Find the Number of Subsequences With Equal GCD
- 3337.Total Characters in String After Transformations II
- 3338.Second Highest Salary II
- 3339.Find the Number of K-Even Arrays
- 3340.Check Balanced String
- 3341.Find Minimum Time to Reach Last Room I
- 3342.Find Minimum Time to Reach Last Room II
- 3343.Count Number of Balanced Permutations
- 3344.Maximum Sized Array
- 3345.Smallest Divisible Digit Product I
- 3346.Maximum Frequency of an Element After Performing Operations I
- 3347.Maximum Frequency of an Element After Performing Operations II
- 3348.Smallest Divisible Digit Product II
- 3349.Adjacent Increasing Subarrays Detection I
- 3350.Adjacent Increasing Subarrays Detection II
- 3351.Sum of Good Subsequences
- 3352.Count K-Reducible Numbers Less Than N
- 3353.Minimum Total Operations
- 3354.Make Array Elements Equal to Zero
- 3355.Zero Array Transformation I
- 3356.Zero Array Transformation II
- 3357.Minimize the Maximum Adjacent Element Difference
- 3358.Books with NULL Ratings
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
793 files changed
+70120
-36312
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | 202 | | |
208 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| |||
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | 194 | | |
199 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
200 | 203 | | |
201 | 204 | | |
202 | 205 | | |
| |||
0 commit comments