File tree
8,630 files changed
+451368
-126413
lines changed- .github/workflows
- .husky
- images
- lcci
- 01.01.Is Unique
- 01.02.Check Permutation
- 01.04.Palindrome Permutation
- 01.05.One Away
- 01.06.Compress String
- 01.07.Rotate Matrix
- 02.08.Linked List Cycle
- 03.01.Three in One
- 04.01.Route Between Nodes
- 04.02.Minimum Height Tree
- 04.05.Legal Binary Search Tree
- 04.08.First Common Ancestor
- 04.12.Paths with Sum
- 05.02.Binary Number to String
- 05.03.Reverse Bits
- 05.07.Exchange
- 08.01.Three Steps Problem
- 08.02.Robot in a Grid
- 08.06.Hanota
- 08.07.Permutation I
- 08.08.Permutation II
- 08.09.Bracket
- 10.09.Sorted Matrix Search
- 16.25.LRU Cache
- 17.15.Longest Word
- 17.20.Continuous Median
- 17.22.Word Transformer
- 17.23.Max Black Square
- lcof2
- 剑指 Offer II 057. 值和下标之差都在给定的范围内
- 剑指 Offer II 058. 日程表
- 剑指 Offer II 072. 求平方根
- 剑指 Offer II 073. 狒狒吃香蕉
- 剑指 Offer II 074. 合并区间
- 剑指 Offer II 075. 数组相对排序
- 剑指 Offer II 076. 数组中的第 k 大的数字
- 剑指 Offer II 077. 链表排序
- 剑指 Offer II 078. 合并排序链表
- 剑指 Offer II 079. 所有子集
- 剑指 Offer II 080. 含有 k 个元素的组合
- 剑指 Offer II 081. 允许重复选择元素的组合
- 剑指 Offer II 082. 含有重复元素集合的组合
- 剑指 Offer II 083. 没有重复元素集合的全排列
- 剑指 Offer II 084. 含有重复元素集合的全排列
- 剑指 Offer II 085. 生成匹配的括号
- 剑指 Offer II 086. 分割回文子字符串
- 剑指 Offer II 087. 复原 IP
- 剑指 Offer II 088. 爬楼梯的最少成本
- 剑指 Offer II 089. 房屋偷盗
- 剑指 Offer II 090. 环形房屋偷盗
- 剑指 Offer II 091. 粉刷房子
- 剑指 Offer II 092. 翻转字符
- 剑指 Offer II 093. 最长斐波那契数列
- 剑指 Offer II 094. 最少回文分割
- 剑指 Offer II 095. 最长公共子序列
- 剑指 Offer II 096. 字符串交织
- 剑指 Offer II 097. 子序列的数目
- 剑指 Offer II 098. 路径的数目
- 剑指 Offer II 099. 最小路径之和
- 剑指 Offer II 100. 三角形中最小路径之和
- 剑指 Offer II 101. 分割等和子串
- 剑指 Offer II 102. 加减的目标值
- 剑指 Offer II 103. 最少的硬币数目
- 剑指 Offer II 104. 排列的数目
- 剑指 Offer II 105. 岛屿的最大面积
- 剑指 Offer II 106. 二分图
- 剑指 Offer II 107. 矩阵中的距离
- 剑指 Offer II 108. 单词演变
- 剑指 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. 旋转数组的最小数字
- 面试题14- I. 剪绳子
- 面试题20. 表示数值的字符串
- 面试题26. 树的子结构
- 面试题41. 数据流中的中位数
- 面试题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. 采集果实
- LCP 56. 信物传送
- LCP 61. 气温变化趋势
- LCP 62. 交通枢纽
- LCP 63. 弹珠游戏
- LCP 64. 二叉树灯饰
- LCP 66. 最小展台数量
- LCP 67. 装饰树
- LCP 68. 美观的花束
- solution
- 0000-0099
- 0001.Two Sum
- 0002.Add Two Numbers
- 0003.Longest Substring Without Repeating Characters
- 0004.Median of Two Sorted Arrays
- 0005.Longest Palindromic Substring
- 0006.Zigzag Conversion
- 0008.String to Integer (atoi)
- 0009.Palindrome Number
- 0010.Regular Expression Matching
- 0011.Container With Most Water
- 0012.Integer to Roman
- 0013.Roman to Integer
- 0014.Longest Common Prefix
- 0015.3Sum
- 0016.3Sum Closest
- 0017.Letter Combinations of a Phone Number
- 0019.Remove Nth Node From End of List
- 0020.Valid Parentheses
- 0021.Merge Two Sorted Lists
- 0022.Generate Parentheses
- 0023.Merge k Sorted Lists
- 0024.Swap Nodes in Pairs
- 0025.Reverse Nodes in k-Group
- 0026.Remove Duplicates from Sorted Array
- 0027.Remove Element
- 0030.Substring with Concatenation of All Words
- 0032.Longest Valid Parentheses
- 0033.Search in Rotated Sorted Array
- 0034.Find First and Last Position of Element in Sorted Array
- 0039.Combination Sum
- 0041.First Missing Positive
- 0043.Multiply Strings
- 0044.Wildcard Matching
- 0045.Jump Game II
- 0046.Permutations
- 0047.Permutations II
- 0048.Rotate Image
- 0049.Group Anagrams
- 0053.Maximum Subarray
- 0054.Spiral Matrix
- 0056.Merge Intervals
- 0059.Spiral Matrix II
- 0062.Unique Paths
- 0063.Unique Paths II
- images
- 0066.Plus One
- 0070.Climbing Stairs
- 0071.Simplify Path
- 0072.Edit Distance
- 0073.Set Matrix Zeroes
- 0075.Sort Colors
- 0076.Minimum Window Substring
- 0078.Subsets
- 0079.Word Search
- 0081.Search in Rotated Sorted Array II
- 0085.Maximal Rectangle
- images
- 0086.Partition List
- 0090.Subsets II
- 0091.Decode Ways
- 0094.Binary Tree Inorder Traversal
- images
- 0097.Interleaving String
- 0098.Validate Binary Search Tree
- 0100-0199
- 0101.Symmetric Tree
- 0108.Convert Sorted Array to Binary Search Tree
- 0109.Convert Sorted List to Binary Search Tree
- 0112.Path Sum
- 0115.Distinct Subsequences
- 0119.Pascal's Triangle II
- 0128.Longest Consecutive Sequence
- 0130.Surrounded Regions
- 0131.Palindrome Partitioning
- 0132.Palindrome Partitioning II
- 0133.Clone Graph
- 0134.Gas Station
- 0135.Candy
- 0136.Single Number
- 0137.Single Number II
- 0138.Copy List with Random Pointer
- 0144.Binary Tree Preorder Traversal
- images
- 0145.Binary Tree Postorder Traversal
- images
- 0146.LRU Cache
- 0147.Insertion Sort List
- images
- 0148.Sort List
- 0151.Reverse Words in a String
- 0152.Maximum Product Subarray
- 0153.Find Minimum in Rotated Sorted Array
- 0160.Intersection of Two Linked Lists
- 0168.Excel Sheet Column Title
- 0176.Second Highest Salary
- 0177.Nth Highest Salary
- 0179.Largest Number
- 0180.Consecutive Numbers
- 0181.Employees Earning More Than Their Managers
- 0184.Department Highest Salary
- 0185.Department Top Three Salaries
- 0189.Rotate Array
- 0191.Number of 1 Bits
- 0192.Word Frequency
- 0193.Valid Phone Numbers
- 0194.Transpose File
- 0195.Tenth Line
- 0197.Rising Temperature
- 0198.House Robber
- 0199.Binary Tree Right Side View
- images
- 0200-0299
- 0205.Isomorphic Strings
- 0206.Reverse Linked List
- 0207.Course Schedule
- 0208.Implement Trie (Prefix Tree)
- 0209.Minimum Size Subarray Sum
- 0214.Shortest Palindrome
- 0215.Kth Largest Element in an Array
- 0217.Contains Duplicate
- 0219.Contains Duplicate II
- 0220.Contains Duplicate III
- 0221.Maximal Square
- 0222.Count Complete Tree Nodes
- 0225.Implement Stack using Queues
- 0226.Invert Binary Tree
- 0228.Summary Ranges
- 0230.Kth Smallest Element in a BST
- 0233.Number of Digit One
- 0234.Palindrome Linked List
- 0235.Lowest Common Ancestor of a Binary Search Tree
- 0238.Product of Array Except Self
- 0239.Sliding Window Maximum
- 0240.Search a 2D Matrix II
- 0241.Different Ways to Add Parentheses
- 0242.Valid Anagram
- 0245.Shortest Word Distance III
- 0250.Count Univalue Subtrees
- 0252.Meeting Rooms
- 0253.Meeting Rooms II
- 0254.Factor Combinations
- 0258.Add Digits
- 0259.3Sum Smaller
- 0260.Single Number III
- 0262.Trips and Users
- 0263.Ugly Number
- 0266.Palindrome Permutation
- 0268.Missing Number
- 0269.Alien Dictionary
- 0270.Closest Binary Search Tree Value
- 0273.Integer to English Words
- 0275.H-Index II
- 0277.Find the Celebrity
- images
- 0278.First Bad Version
- 0281.Zigzag Iterator
- 0282.Expression Add Operators
- 0283.Move Zeroes
- 0287.Find the Duplicate Number
- 0289.Game of Life
- 0290.Word Pattern
- 0295.Find Median from Data Stream
- 0297.Serialize and Deserialize Binary Tree
- 0300-0399
- 0303.Range Sum Query - Immutable
- 0304.Range Sum Query 2D - Immutable
- 0308.Range Sum Query 2D - Mutable
- 0314.Binary Tree Vertical Order Traversal
- images
- 0317.Shortest Distance from All Buildings
- 0321.Create Maximum Number
- 0325.Maximum Size Subarray Sum Equals k
- 0328.Odd Even Linked List
- 0332.Reconstruct Itinerary
- 0338.Counting Bits
- 0340.Longest Substring with At Most K Distinct Characters
- 0341.Flatten Nested List Iterator
- 0342.Power of Four
- 0343.Integer Break
- 0345.Reverse Vowels of a String
- 0346.Moving Average from Data Stream
- 0347.Top K Frequent Elements
- 0350.Intersection of Two Arrays II
- 0352.Data Stream as Disjoint Intervals
- 0354.Russian Doll Envelopes
- 0355.Design Twitter
- 0357.Count Numbers with Unique Digits
- 0363.Max Sum of Rectangle No Larger Than K
- 0364.Nested List Weight Sum II
- 0365.Water and Jug Problem
- 0368.Largest Divisible Subset
- 0369.Plus One Linked List
- 0370.Range Addition
- 0379.Design Phone Directory
- 0384.Shuffle an Array
- 0387.First Unique Character in a String
- 0391.Perfect Rectangle
- 0400-0499
- 0405.Convert a Number to Hexadecimal
- 0410.Split Array Largest Sum
- 0411.Minimum Unique Word Abbreviation
- 0412.Fizz Buzz
- 0413.Arithmetic Slices
- 0415.Add Strings
- 0416.Partition Equal Subset Sum
- 0418.Sentence Screen Fitting
- 0428.Serialize and Deserialize N-ary Tree
- images
- 0431.Encode N-ary Tree to Binary Tree
- 0434.Number of Segments in a String
- 0435.Non-overlapping Intervals
- 0436.Find Right Interval
- 0437.Path Sum III
- 0438.Find All Anagrams in a String
- 0439.Ternary Expression Parser
- 0440.K-th Smallest in Lexicographical Order
- 0442.Find All Duplicates in an Array
- 0451.Sort Characters By Frequency
- 0453.Minimum Moves to Equal Array Elements
- 0455.Assign Cookies
- 0457.Circular Array Loop
- images
- 0459.Repeated Substring Pattern
- 0461.Hamming Distance
- 0462.Minimum Moves to Equal Array Elements II
- 0464.Can I Win
- 0476.Number Complement
- 0480.Sliding Window Median
- 0486.Predict the Winner
- 0490.The Maze
- 0494.Target Sum
- 0496.Next Greater Element I
- 0500-0599
- 0500.Keyboard Row
- 0504.Base 7
- 0506.Relative Ranks
- 0507.Perfect Number
- 0508.Most Frequent Subtree Sum
- 0509.Fibonacci Number
- 0510.Inorder Successor in BST II
- 0514.Freedom Trail
- 0515.Find Largest Value in Each Tree Row
- 0517.Super Washing Machines
- 0520.Detect Capital
- 0523.Continuous Subarray Sum
- 0525.Contiguous Array
- 0530.Minimum Absolute Difference in BST
- 0532.K-diff Pairs in an Array
- 0536.Construct Binary Tree from String
- 0537.Complex Number Multiplication
- 0540.Single Element in a Sorted Array
- 0541.Reverse String II
- 0542.01 Matrix
- 0543.Diameter of Binary Tree
- 0544.Output Contest Matches
- 0545.Boundary of Binary Tree
- 0547.Number of Provinces
- 0550.Game Play Analysis IV
- 0552.Student Attendance Record II
- 0554.Brick Wall
- images
- 0555.Split Concatenated Strings
- 0557.Reverse Words in a String III
- 0559.Maximum Depth of N-ary Tree
- 0560.Subarray Sum Equals K
- 0562.Longest Line of Consecutive One in Matrix
- 0563.Binary Tree Tilt
- 0564.Find the Closest Palindrome
- 0566.Reshape the Matrix
- 0567.Permutation in String
- 0568.Maximum Vacation Days
- 0572.Subtree of Another Tree
- images
- 0573.Squirrel Simulation
- 0576.Out of Boundary Paths
- 0581.Shortest Unsorted Continuous Subarray
- 0583.Delete Operation for Two Strings
- 0588.Design In-Memory File System
- 0592.Fraction Addition and Subtraction
- 0593.Valid Square
- 0594.Longest Harmonious Subsequence
- 0596.Classes More Than 5 Students
- 0596.Classes With at Least 5 Students
- 0598.Range Addition II
- 0599.Minimum Index Sum of Two Lists
- 0600-0699
- 0600.Non-negative Integers without Consecutive Ones
- 0604.Design Compressed String Iterator
- 0608.Tree Node
- 0614.Second Degree Follower
- 0616.Add Bold Tag in String
- 0621.Task Scheduler
- 0622.Design Circular Queue
- 0624.Maximum Distance in Arrays
- 0626.Exchange Seats
- 0628.Maximum Product of Three Numbers
- 0629.K Inverse Pairs Array
- 0630.Course Schedule III
- 0631.Design Excel Sum Formula
- 0632.Smallest Range Covering Elements from K Lists
- 0634.Find the Derangement of An Array
- 0636.Exclusive Time of Functions
- 0638.Shopping Offers
- 0640.Solve the Equation
- 0642.Design Search Autocomplete System
- 0646.Maximum Length of Pair Chain
- 0649.Dota2 Senate
- 0650.2 Keys Keyboard
- 0657.Robot Return to Origin
- 0658.Find K Closest Elements
- 0661.Image Smoother
- 0664.Strange Printer
- 0666.Path Sum IV
- 0670.Maximum Swap
- 0673.Number of Longest Increasing Subsequence
- 0676.Implement Magic Dictionary
- 0677.Map Sum Pairs
- 0680.Valid Palindrome II
- 0682.Baseball Game
- 0684.Redundant Connection
- 0685.Redundant Connection II
- 0687.Longest Univalue Path
- 0688.Knight Probability in Chessboard
- 0689.Maximum Sum of 3 Non-Overlapping Subarrays
- 0690.Employee Importance
- 0691.Stickers to Spell Word
- 0692.Top K Frequent Words
- 0698.Partition to K Equal Sum Subsets
- 0699.Falling Squares
- 0700-0799
- 0700.Search in a Binary Search Tree
- 0701.Insert into a Binary Search Tree
- 0703.Kth Largest Element in a Stream
- 0704.Binary Search
- 0705.Design HashSet
- 0713.Subarray Product Less Than K
- 0716.Max Stack
- 0719.Find K-th Smallest Pair Distance
- 0720.Longest Word in Dictionary
- 0722.Remove Comments
- 0723.Candy Crush
- 0725.Split Linked List in Parts
- 0726.Number of Atoms
- 0727.Minimum Window Subsequence
- 0728.Self Dividing Numbers
- 0729.My Calendar I
- 0731.My Calendar II
- 0732.My Calendar III
- 0733.Flood Fill
- 0734.Sentence Similarity
- 0735.Asteroid Collision
- 0737.Sentence Similarity II
- 0739.Daily Temperatures
- 0743.Network Delay Time
- 0744.Find Smallest Letter Greater Than Target
- 0746.Min Cost Climbing Stairs
- 0752.Open the Lock
- 0753.Cracking the Safe
- 0754.Reach a Number
- 0755.Pour Water
- 0756.Pyramid Transition Matrix
- 0758.Bold Words in String
- 0759.Employee Free Time
- 0763.Partition Labels
- 0765.Couples Holding Hands
- 0766.Toeplitz Matrix
- 0768.Max Chunks To Make Sorted II
- 0769.Max Chunks To Make Sorted
- 0771.Jewels and Stones
- 0772.Basic Calculator III
- 0773.Sliding Puzzle
- 0777.Swap Adjacent in LR String
- 0779.K-th Symbol in Grammar
- 0781.Rabbits in Forest
- 0782.Transform to Chessboard
- 0783.Minimum Distance Between BST Nodes
- 0784.Letter Case Permutation
- 0785.Is Graph Bipartite
- 0787.Cheapest Flights Within K Stops
- images
- 0788.Rotated Digits
- 0790.Domino and Tromino Tiling
- 0791.Custom Sort String
- 0797.All Paths From Source to Target
- 0800-0899
- 0801.Minimum Swaps To Make Sequences Increasing
- 0802.Find Eventual Safe States
- 0805.Split Array With Same Average
- 0807.Max Increase to Keep City Skyline
- 0808.Soup Servings
- 0809.Expressive Words
- 0810.Chalkboard XOR Game
- 0813.Largest Sum of Averages
- 0814.Binary Tree Pruning
- 0815.Bus Routes
- 0819.Most Common Word
- 0822.Card Flipping Game
- 0825.Friends Of Appropriate Ages
- 0826.Most Profit Assigning Work
- 0830.Positions of Large Groups
- 0831.Masking Personal Information
- 0832.Flipping an Image
- 0833.Find And Replace in String
- 0834.Sum of Distances in Tree
- 0835.Image Overlap
- 0836.Rectangle Overlap
- 0838.Push Dominoes
- 0839.Similar String Groups
- 0840.Magic Squares In Grid
- 0841.Keys and Rooms
- 0846.Hand of Straights
- 0848.Shifting Letters
- 0849.Maximize Distance to Closest Person
- 0850.Rectangle Area II
- 0853.Car Fleet
- 0855.Exam Room
- 0857.Minimum Cost to Hire K Workers
- 0860.Lemonade Change
- 0862.Shortest Subarray with Sum at Least K
- 0863.All Nodes Distance K in Binary Tree
- 0864.Shortest Path to Get All Keys
- 0865.Smallest Subtree with all the Deepest Nodes
- 0867.Transpose Matrix
- 0868.Binary Gap
- 0870.Advantage Shuffle
- 0871.Minimum Number of Refueling Stops
- 0872.Leaf-Similar Trees
- 0873.Length of Longest Fibonacci Subsequence
- 0874.Walking Robot Simulation
- 0875.Koko Eating Bananas
- 0877.Stone Game
- 0883.Projection Area of 3D Shapes
- 0884.Uncommon Words from Two Sentences
- 0885.Spiral Matrix III
- 0887.Super Egg Drop
- 0888.Fair Candy Swap
- 0896.Monotonic Array
- 0898.Bitwise ORs of Subarrays
- 0900-0999
- 0902.Numbers At Most N Given Digit Set
- 0906.Super Palindromes
- 0908.Smallest Range I
- 0909.Snakes and Ladders
- 0912.Sort an Array
- 0913.Cat and Mouse
- 0916.Word Subsets
- 0919.Complete Binary Tree Inserter
- 0921.Minimum Add to Make Parentheses Valid
- 0922.Sort Array By Parity II
- 0923.3Sum With Multiplicity
- 0925.Long Pressed Name
- 0929.Unique Email Addresses
- 0930.Binary Subarrays With Sum
- 0931.Minimum Falling Path Sum
- images
- 0935.Knight Dialer
- 0937.Reorder Data in Log Files
- 0945.Minimum Increment to Make Array Unique
- 0946.Validate Stack Sequences
- 0947.Most Stones Removed with Same Row or Column
- 0948.Bag of Tokens
- 0949.Largest Time for Given Digits
- 0951.Flip Equivalent Binary Trees
- 0956.Tallest Billboard
- 0959.Regions Cut By Slashes
- 0960.Delete Columns to Make Sorted III
- 0962.Maximum Width Ramp
- 0965.Univalued Binary Tree
- 0966.Vowel Spellchecker
- 0967.Numbers With Same Consecutive Differences
- 0968.Binary Tree Cameras
- 0971.Flip Binary Tree To Match Preorder Traversal
- 0973.K Closest Points to Origin
- 0974.Subarray Sums Divisible by K
- 0975.Odd Even Jump
- 0977.Squares of a Sorted Array
- 0978.Longest Turbulent Subarray
- 0979.Distribute Coins in Binary Tree
- 0980.Unique Paths III
- 0981.Time Based Key-Value Store
- 0982.Triples with Bitwise AND Equal To Zero
- 0983.Minimum Cost For Tickets
- 0985.Sum of Even Numbers After Queries
- 0986.Interval List Intersections
- 0989.Add to Array-Form of Integer
- 0991.Broken Calculator
- 0994.Rotting Oranges
- 0995.Minimum Number of K Consecutive Bit Flips
- 0999.Available Captures for Rook
- 1000-1099
- 1001.Grid Illumination
- 1002.Find Common Characters
- 1003.Check If Word Is Valid After Substitutions
- 1004.Max Consecutive Ones III
- 1005.Maximize Sum Of Array After K Negations
- 1007.Minimum Domino Rotations For Equal Row
- 1008.Construct Binary Search Tree from Preorder Traversal
- 1009.Complement of Base 10 Integer
- 1012.Numbers With Repeated Digits
- 1013.Partition Array Into Three Parts With Equal Sum
- 1014.Best Sightseeing Pair
- 1016.Binary String With Substrings Representing 1 To N
- 1018.Binary Prefix Divisible By 5
- 1020.Number of Enclaves
- 1023.Camelcase Matching
- 1028.Recover a Tree From Preorder Traversal
- images
- 1030.Matrix Cells in Distance Order
- 1032.Stream of Characters
- 1035.Uncrossed Lines
- 1036.Escape a Large Maze
- 1037.Valid Boomerang
- 1038.Binary Search Tree to Greater Sum Tree
- 1039.Minimum Score Triangulation of Polygon
- 1040.Moving Stones Until Consecutive II
- 1041.Robot Bounded In Circle
- 1042.Flower Planting With No Adjacent
- 1046.Last Stone Weight
- 1047.Remove All Adjacent Duplicates In String
- 1052.Grumpy Bookstore Owner
- 1055.Shortest Way to Form String
- 1057.Campus Bikes
- 1061.Lexicographically Smallest Equivalent String
- 1062.Longest Repeating Substring
- 1065.Index Pairs of a String
- 1070.Product Sales Analysis III
- 1078.Occurrences After Bigram
- 1084.Sales Analysis III
- 1092.Shortest Common Supersequence
- 1095.Find in Mountain Array
- 1100-1199
- 1110.Delete Nodes And Return Forest
- 1120.Maximum Average Subtree
- 1122.Relative Sort Array
- 1123.Lowest Common Ancestor of Deepest Leaves
- 1128.Number of Equivalent Domino Pairs
- 1130.Minimum Cost Tree From Leaf Values
- 1134.Armstrong Number
- 1137.N-th Tribonacci Number
- 1140.Stone Game II
- 1143.Longest Common Subsequence
- 1146.Snapshot Array
- 1147.Longest Chunked Palindrome Decomposition
- 1148.Article Views I
- 1152.Analyze User Website Visit Pattern
- 1153.String Transforms Into Another String
- 1154.Day of the Year
- 1160.Find Words That Can Be Formed by Characters
- 1164.Product Price at a Given Date
- 1172.Dinner Plate Stacks
- 1183.Maximum Number of Ones
- 1184.Distance Between Bus Stops
- 1186.Maximum Subarray Sum with One Deletion
- 1189.Maximum Number of Balloons
- 1190.Reverse Substrings Between Each Pair of Parentheses
- 1199.Minimum Time to Build Blocks
- 1200-1299
- 1204.Last Person to Fit in the Bus
- 1206.Design Skiplist
- 1207.Unique Number of Occurrences
- 1208.Get Equal Substrings Within Budget
- 1209.Remove All Adjacent Duplicates in String II
- 1211.Queries Quality and Percentage
- 1215.Stepping Numbers
- 1217.Minimum Cost to Move Chips to The Same Position
- 1218.Longest Arithmetic Subsequence of Given Difference
- 1220.Count Vowels Permutation
- 1227.Airplane Seat Assignment Probability
- 1228.Missing Number In Arithmetic Progression
- 1229.Meeting Scheduler
- 1233.Remove Sub-Folders from the Filesystem
- 1236.Web Crawler
- 1237.Find Positive Integer Solution for a Given Equation
- 1239.Maximum Length of a Concatenated String with Unique Characters
- 1244.Design A Leaderboard
- 1245.Tree Diameter
- 1246.Palindrome Removal
- 1247.Minimum Swaps to Make Strings Equal
- 1248.Count Number of Nice Subarrays
- 1250.Check If It Is a Good Array
- 1251.Average Selling Price
- 1252.Cells with Odd Values in a Matrix
- 1257.Smallest Common Region
- 1258.Synonymous Sentences
- 1260.Shift 2D Grid
- 1261.Find Elements in a Contaminated Binary Tree
- 1275.Find Winner on a Tic Tac Toe Game
- 1277.Count Square Submatrices with All Ones
- 1278.Palindrome Partitioning III
- 1281.Subtract the Product and Sum of Digits of an Integer
- 1282.Group the People Given the Group Size They Belong To
- 1287.Element Appearing More Than 25% In Sorted Array
- 1288.Remove Covered Intervals
- 1289.Minimum Falling Path Sum II
- 1290.Convert Binary Number in a Linked List to Integer
- 1295.Find Numbers with Even Number of Digits
- 1296.Divide Array in Sets of K Consecutive Numbers
- 1297.Maximum Number of Occurrences of a Substring
- 1298.Maximum Candies You Can Get from Boxes
- 1299.Replace Elements with Greatest Element on Right Side
- 1300-1399
- 1300.Sum of Mutated Array Closest to Target
- 1301.Number of Paths with Max Score
- 1302.Deepest Leaves Sum
- 1305.All Elements in Two Binary Search Trees
- 1307.Verbal Arithmetic Puzzle
- 1309.Decrypt String from Alphabet to Integer Mapping
- 1310.XOR Queries of a Subarray
- 1311.Get Watched Videos by Your Friends
- 1313.Decompress Run-Length Encoded List
- 1317.Convert Integer to the Sum of Two No-Zero Integers
- 1319.Number of Operations to Make Network Connected
- 1320.Minimum Distance to Type a Word Using Two Fingers
- 1326.Minimum Number of Taps to Open to Water a Garden
- 1328.Break a Palindrome
- 1330.Reverse Subarray To Maximize Array Value
- 1331.Rank Transform of an Array
- 1334.Find the City With the Smallest Number of Neighbors at a Threshold Distance
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
8,630 files changed
+451368
-126413
lines changedLines changed: 22 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + |
Lines changed: 82 additions & 48 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
| |||
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 | 16 |
| |
23 | 17 |
| |
24 |
| - | |
| 18 | + | |
25 | 19 |
| |
26 | 20 |
| |
27 | 21 |
| |
28 |
| - | |
| 22 | + | |
29 | 23 |
| |
30 |
| - | |
31 | 24 |
| |
32 |
| - | |
33 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
34 | 32 |
| |
35 | 33 |
| |
36 | 34 |
| |
37 |
| - | |
38 |
| - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 |
| |
40 | 42 |
| |
| 43 | + | |
41 | 44 |
| |
42 | 45 |
| |
43 |
| - | |
44 |
| - | |
| 46 | + | |
| 47 | + | |
45 | 48 |
| |
46 |
| - | |
| 49 | + | |
| 50 | + | |
47 | 51 |
| |
48 | 52 |
| |
49 | 53 |
| |
50 |
| - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
51 | 61 |
| |
52 |
| - | |
| 62 | + | |
| 63 | + | |
53 | 64 |
| |
54 |
| - | |
55 | 65 |
| |
| 66 | + | |
56 | 67 |
| |
57 | 68 |
| |
58 |
| - | |
| 69 | + | |
59 | 70 |
| |
60 | 71 |
| |
61 | 72 |
| |
62 | 73 |
| |
63 | 74 |
| |
64 |
| - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
65 | 79 |
| |
66 |
| - | |
| 80 | + | |
| 81 | + | |
67 | 82 |
| |
68 | 83 |
| |
69 | 84 |
| |
70 | 85 |
| |
71 |
| - | |
72 |
| - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
73 | 115 |
| |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + |
Lines changed: 2 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 | 7 |
| |
12 | 8 |
| |
13 | 9 |
| |
14 | 10 |
| |
15 | 11 |
| |
16 | 12 |
| |
| 13 | + | |
17 | 14 |
| |
18 | 15 |
| |
19 | 16 |
| |
20 | 17 |
| |
21 | 18 |
| |
22 | 19 |
| |
23 |
| - | |
| 20 | + | |
24 | 21 |
| |
25 | 22 |
| |
26 | 23 |
| |
|
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + |
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + |
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + |
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
20 | 19 |
| |
21 | 20 |
| |
22 | 21 |
| |
| |||
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
28 |
| - | |
| 27 | + | |
| 28 | + | |
| 29 | + |
Lines changed: 26 additions & 37 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 |
| - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| |||
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
23 |
| - | |
| 24 | + | |
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
| |||
189 | 190 |
| |
190 | 191 |
| |
191 | 192 |
| |
192 |
| - | |
| 193 | + | |
193 | 194 |
| |
194 |
| - | |
195 |
| - | |
196 |
| - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
197 | 198 |
| |
198 | 199 |
| |
199 | 200 |
| |
200 | 201 |
| |
201 | 202 |
| |
202 |
| - | |
203 |
| - | |
204 |
| - | |
205 |
| - | |
206 |
| - | |
207 | 203 |
| |
208 | 204 |
| |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
209 | 212 |
| |
210 | 213 |
| |
211 | 214 |
| |
212 | 215 |
| |
213 | 216 |
| |
214 | 217 |
| |
215 |
| - | |
216 |
| - | |
217 |
| - | |
218 |
| - | |
219 |
| - | |
220 |
| - | |
221 |
| - | |
222 |
| - | |
223 |
| - | |
224 |
| - | |
225 |
| - | |
226 |
| - | |
227 |
| - | |
228 |
| - | |
229 |
| - | |
230 |
| - | |
231 | 218 |
| |
232 | 219 |
| |
233 | 220 |
| |
234 | 221 |
| |
235 |
| - | |
| 222 | + | |
236 | 223 |
| |
237 | 224 |
| |
238 | 225 |
| |
239 |
| - | |
240 |
| - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
241 | 230 |
| |
242 | 231 |
| |
243 | 232 |
| |
|
0 commit comments