File tree
1,388 files changed
+18
-70180
lines changed- leetcode
- basic
- lcci
- 01.01.Is Unique
- 01.02.Check Permutation
- 01.03.String to URL
- 01.04.Palindrome Permutation
- 01.05.One Away
- 01.06.Compress String
- 01.07.Rotate Matrix
- 01.08.Zero Matrix
- 01.09.String Rotation
- 02.01.Remove Duplicate Node
- 02.02.Kth Node From End of List
- 02.03.Delete Middle Node
- 02.04.Partition List
- 02.05.Sum Lists
- 02.06.Palindrome Linked List
- 02.08.Linked List Cycle
- 03.01.Three in One
- 03.02.Min Stack
- 03.04.Implement Queue using Stacks
- 03.05.Sort of Stacks
- 03.06.Animal Shelter
- 04.04.Check Balance
- 04.05.Legal Binary Search Tree
- 04.08.First Common Ancestor
- 04.10.Check SubTree
- 04.12.Paths with Sum
- 05.01.Insert Into Bits
- 05.06.Convert Integer
- 05.07.Exchange
- 08.01.Three Steps Problem
- 08.09.Bracket
- 08.10.Color Fill
- 10.09.Sorted Matrix Search
- 16.01.Swap Numbers
- 16.06.Smallest Difference
- 16.10.Living People
- 16.11.Diving Board
- 16.21.Sum Swap
- 17.01.Add Without Plus
- 17.04.Missing Number
- 17.12.BiNode
- 17.13.Re-Space
- 17.16.The Masseuse
- 17.19.Missing Two
- 17.20.Continuous Median
- lcof
- 面试题03. 数组中重复的数字
- 面试题04. 二维数组中的查找
- 面试题05. 替换空格
- 面试题06. 从尾到头打印链表
- 面试题07. 重建二叉树
- 面试题09. 用两个栈实现队列
- 面试题10- I. 斐波那契数列
- 面试题10- II. 青蛙跳台阶问题
- 面试题11. 旋转数组的最小数字
- 面试题12. 矩阵中的路径
- 面试题13. 机器人的运动范围
- 面试题14- I. 剪绳子
- 面试题14- II. 剪绳子 II
- 面试题15. 二进制中1的个数
- 面试题16. 数值的整数次方
- 面试题17. 打印从1到最大的n位数
- 面试题18. 删除链表的节点
- 面试题19. 正则表达式匹配
- 面试题20. 表示数值的字符串
- 面试题21. 调整数组顺序使奇数位于偶数前面
- 面试题22. 链表中倒数第k个节点
- 面试题24. 反转链表
- 面试题25. 合并两个排序的链表
- 面试题26. 树的子结构
- 面试题27. 二叉树的镜像
- 面试题28. 对称的二叉树
- 面试题29. 顺时针打印矩阵
- 面试题30. 包含min函数的栈
- 面试题31. 栈的压入、弹出序列
- 面试题32 - I. 从上到下打印二叉树
- 面试题32 - II. 从上到下打印二叉树 II
- 面试题32 - III. 从上到下打印二叉树 III
- 面试题33. 二叉搜索树的后序遍历序列
- 面试题34. 二叉树中和为某一值的路径
- 面试题35. 复杂链表的复制
- 面试题36. 二叉搜索树与双向链表
- 面试题37. 序列化二叉树
- 面试题38. 字符串的排列
- 面试题39. 数组中出现次数超过一半的数字
- 面试题40. 最小的k个数
- 面试题41. 数据流中的中位数
- 面试题42. 连续子数组的最大和
- 面试题43. 1~n整数中1出现的次数
- 面试题44. 数字序列中某一位的数字
- 面试题45. 把数组排成最小的数
- 面试题46. 把数字翻译成字符串
- 面试题47. 礼物的最大价值
- 面试题48. 最长不含重复字符的子字符串
- 面试题49. 丑数
- 面试题50. 第一个只出现一次的字符
- 面试题51. 数组中的逆序对
- 面试题52. 两个链表的第一个公共节点
- 面试题53 - I. 在排序数组中查找数字 I
- 面试题53 - II. 0~n-1中缺失的数字
- 面试题54. 二叉搜索树的第k大节点
- 面试题55 - I. 二叉树的深度
- 面试题55 - II. 平衡二叉树
- 面试题56 - I. 数组中数字出现的次数
- 面试题56 - II. 数组中数字出现的次数 II
- 面试题57 - II. 和为s的连续正数序列
- 面试题57. 和为s的两个数字
- 面试题58 - I. 翻转单词顺序
- 面试题58 - II. 左旋转字符串
- 面试题59 - I. 滑动窗口的最大值
- 面试题59 - II. 队列的最大值
- 面试题60. n个骰子的点数
- 面试题61. 扑克牌中的顺子
- 面试题62. 圆圈中最后剩下的数字
- 面试题63. 股票的最大利润
- 面试题64. 求1+2+…+n
- 面试题65. 不用加减乘除做加法
- 面试题66. 构建乘积数组
- 面试题67. 把字符串转换成整数
- 面试题68 - I. 二叉搜索树的最近公共祖先
- 面试题68 - II. 二叉树的最近公共祖先
- 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
- 0007.Reverse Integer
- 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
- 0018.4Sum
- 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
- 0028.Implement strStr()
- 0029.Divide Two Integers
- 0030.Substring with Concatenation of All Words
- 0031.Next Permutation
- 0032.Longest Valid Parentheses
- 0033.Search in Rotated Sorted Array
- 0034.Find First and Last Position of Element in Sorted Array
- 0035.Search Insert Position
- 0036.Valid Sudoku
- 0037.Sudoku Solver
- 0038.Count and Say
- 0039.Combination Sum
- 0040.Combination Sum II
- 0041.First Missing Positive
- 0042.Trapping Rain Water
- 0043.Multiply Strings
- 0044.Wildcard Matching
- 0045.Jump Game II
- 0046.Permutations
- 0047.Permutations II
- 0048.Rotate Image
- 0049.Group Anagrams
- 0050.Pow(x, n)
- 0051.N-Queens
- 0052.N-Queens II
- 0053.Maximum Subarray
- 0054.Spiral Matrix
- 0055.Jump Game
- 0056.Merge Intervals
- 0057.Insert Interval
- 0058.Length of Last Word
- 0059.Spiral Matrix II
- 0060.Permutation Sequence
- 0061.Rotate List
- 0062.Unique Paths
- 0063.Unique Paths II
- 0064.Minimum Path Sum
- 0065.Valid Number
- 0066.Plus One
- 0067.Add Binary
- 0068.Text Justification
- 0069.Sqrt(x)
- 0070.Climbing Stairs
- 0071.Simplify Path
- 0072.Edit Distance
- 0073.Set Matrix Zeroes
- 0074.Search a 2D Matrix
- 0075.Sort Colors
- 0076.Minimum Window Substring
- 0077.Combinations
- 0078.Subsets
- 0079.Word Search
- 0080.Remove Duplicates from Sorted Array II
- 0081.Search in Rotated Sorted Array II
- 0082.Remove Duplicates from Sorted List II
- 0083.Remove Duplicates from Sorted List
- 0084.Largest Rectangle in Histogram
- 0085.Maximal Rectangle
- 0086.Partition List
- 0087.Scramble String
- 0088.Merge Sorted Array
- 0089.Gray Code
- 0090.Subsets II
- 0091.Decode Ways
- 0092.Reverse Linked List II
- 0093.Restore IP Addresses
- 0094.Binary Tree Inorder Traversal
- 0095.Unique Binary Search Trees II
- 0096.Unique Binary Search Trees
- 0097.Interleaving String
- 0098.Validate Binary Search Tree
- 0099.Recover Binary Search Tree
- 0100-0199
- 0100.Same Tree
- 0101.Symmetric Tree
- 0102.Binary Tree Level Order Traversal
- 0103.Binary Tree Zigzag Level Order Traversal
- 0104.Maximum Depth of Binary Tree
- 0105.Construct Binary Tree from Preorder and Inorder Traversal
- 0106.Construct Binary Tree from Inorder and Postorder Traversal
- 0107.Binary Tree Level Order Traversal II
- 0108.Convert Sorted Array to Binary Search Tree
- 0109.Convert Sorted List to Binary Search Tree
- 0110.Balanced Binary Tree
- 0111.Minimum Depth of Binary Tree
- 0112.Path Sum
- 0113.Path Sum II
- 0114.Flatten Binary Tree to Linked List
- 0115.Distinct Subsequences
- 0116.Populating Next Right Pointers in Each Node
- 0117.Populating Next Right Pointers in Each Node II
- 0118.Pascal's Triangle
- 0119.Pascal's Triangle II
- 0120.Triangle
- 0121.Best Time to Buy and Sell Stock
- 0122.Best Time to Buy and Sell Stock II
- 0123.Best Time to Buy and Sell Stock III
- 0124.Binary Tree Maximum Path Sum
- 0125.Valid Palindrome
- 0126.Word Ladder II
- 0127.Word Ladder
- 0128.Longest Consecutive Sequence
- 0129.Sum Root to Leaf Numbers
- 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
- 0139.Word Break
- 0140.Word Break II
- 0141.Linked List Cycle
- 0142.Linked List Cycle II
- 0143.Reorder List
- 0144.Binary Tree Preorder Traversal
- 0145.Binary Tree Postorder Traversal
- 0146.Lru Cache
- 0147.Insertion Sort List
- 0148.Sort List
- 0149.Max Points on a Line
- 0150.Evaluate Reverse Polish Notation
- 0151.Reverse Words in a String
- 0152.Maximum Product Subarray
- 0153.Find Minimum in Rotated Sorted Array
- 0154.Find Minimum in Rotated Sorted Array II
- 0155.Min Stack
- 0160.Intersection of Two Linked Lists
- 0162.Find Peak Element
- 0164.Maximum Gap
- 0165.Compare Version Numbers
- 0166.Fraction to Recurring Decimal
- 0167.Two Sum II - Input array is sorted
- 0168.Excel Sheet Column Title
- 0169.Majority Element
- 0171.Excel Sheet Column Number
- 0172.Factorial Trailing Zeroes
- 0173.Binary Search Tree Iterator
- 0174.Dungeon Game
- 0179.Largest Number
- 0187.Repeated DNA Sequences
- 0188.Best Time to Buy and Sell Stock IV
- 0189.Rotate Array
- 0190.Reverse Bits
- 0191.Number of 1 Bits
- 0198.House Robber
- 0199.Binary Tree Right Side View
- 0200-0299
- 0200.Number of Islands
- 0201.Bitwise AND of Numbers Range
- 0202.Happy Number
- 0203.Remove Linked List Elements
- 0204.Count Primes
- 0205.Isomorphic Strings
- 0206.Reverse Linked List
- 0207.Course Schedule
- 0208.Implement Trie (Prefix Tree)
- 0209.Minimum Size Subarray Sum
- 0210.Course Schedule II
- 0211.Design Add and Search Words Data Structure
- 0213.House Robber II
- 0215.Kth Largest Element in an Array
- 0216.Combination Sum III
- 0217.Contains Duplicate
- 0219.Contains Duplicate II
- 0220.Contains Duplicate III
- 0221.Maximal Square
- 0222.Count Complete Tree Nodes
- 0223.Rectangle Area
- 0224.Basic Calculator
- 0225.Implement Stack using Queues
- 0226.Invert Binary Tree
- 0227.Basic Calculator II
- 0228.Summary Ranges
- 0229.Majority Element II
- 0230.Kth Smallest Element in a BST
- 0231.Power of Two
- 0232.Implement Queue using Stacks
- 0233.Number of Digit One
- 0234.Palindrome Linked List
- 0235.Lowest Common Ancestor of a Binary Search Tree
- 0236.Lowest Common Ancestor of a Binary Tree
- 0237.Delete Node in a Linked List
- 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
- 0243.Shortest Word Distance
- 0244.Shortest Word Distance II
- 0245.Shortest Word Distance III
- 0246.Strobogrammatic Number
- 0247.Strobogrammatic Number II
- 0252.Meeting Rooms
- 0257.Binary Tree Paths
- 0258.Add Digits
- 0260.Single Number III
- 0263.Ugly Number
- 0264.Ugly Number II
- 0266.Palindrome Permutation
- 0268.Missing Number
- 0273.Integer to English Words
- 0274.H-Index
- 0275.H-Index II
- 0278.First Bad Version
- 0279.Perfect Squares
- 0283.Move Zeroes
- 0284.Peeking Iterator
- 0287.Find the Duplicate Number
- 0289.Game of Life
- 0290.Word Pattern
- 0292.Nim Game
- 0293.Flip Game
- 0295.Find Median from Data Stream
- 0297.Serialize and Deserialize Binary Tree
- 0299.Bulls and Cows
- 0300-0399
- 0300.Longest Increasing Subsequence
- 0301.Remove Invalid Parentheses
- 0303.Range Sum Query - Immutable
- 0304.Range Sum Query 2D - Immutable
- 0306.Additive Number
- 0307.Range Sum Query - Mutable
- 0309.Best Time to Buy and Sell Stock with Cooldown
- 0312.Burst Balloons
- 0319.Bulb Switcher
- 0322.Coin Change
- 0328.Odd Even Linked List
- 0329.Longest Increasing Path in a Matrix
- 0331.Verify Preorder Serialization of a Binary Tree
- 0337.House Robber III
- 0342.Power of Four
- 0343.Integer Break
- 0344.Reverse String
- 0345.Reverse Vowels of a String
- 0347.Top K Frequent Elements
- 0349.Intersection of Two Arrays
- 0350.Intersection of Two Arrays II
- 0354.Russian Doll Envelopes
- 0355.Design Twitter
- 0367.Valid Perfect Square
- 0371.Sum of Two Integers
- 0374.Guess Number Higher or Lower
- 0376.Wiggle Subsequence
- 0377.Combination Sum IV
- 0378.Kth Smallest Element in a Sorted Matrix
- 0380.Insert Delete GetRandom O(1)
- 0381.Insert Delete GetRandom O(1) - Duplicates allowed
- 0383.Ransom Note
- 0384.Shuffle an Array
- 0387.First Unique Character in a String
- 0392.Is Subsequence
- 0394.Decode String
- 0397.Integer Replacement
- 0400-0499
- 0400.Nth Digit
- 0401.Binary Watch
- 0402.Remove K Digits
- 0404.Sum of Left Leaves
- 0405.Convert a Number to Hexadecimal
- 0406.Queue Reconstruction by Height
- 0409.Longest Palindrome
- 0410.Split Array Largest Sum
- 0414.Third Maximum Number
- 0415.Add Strings
- 0421.Maximum XOR of Two Numbers in an Array
- 0424.Longest Repeating Character Replacement
- 0426.Convert Binary Search Tree to Sorted Doubly Linked List
- 0429.N-ary Tree Level Order Traversal
- 0430.Flatten a Multilevel Doubly Linked List
- 0437.Path Sum III
- 0441.Arranging Coins
- 0442.Find All Duplicates in an Array
- 0445.Add Two Numbers II
- 0448.Find All Numbers Disappeared in an Array
- 0449.Serialize and Deserialize BST
- 0450.Delete Node in a BST
- 0452.Minimum Number of Arrows to Burst Balloons
- 0453.Minimum Moves to Equal Array Elements
- 0454.4Sum II
- 0456.132 Pattern
- 0458.Poor Pigs
- 0459.Repeated Substring Pattern
- 0461.Hamming Distance
- 0462.Minimum Moves to Equal Array Elements II
- 0473.Matchsticks to Square
- 0475.Heaters
- 0477.Total Hamming Distance
- 0483.Smallest Good Base
- 0485.Max Consecutive Ones
- 0486.Predict the Winner
- 0487.Max Consecutive Ones II
- 0490.The Maze
- 0492.Construct the Rectangle
- 0494.Target Sum
- 0496.Next Greater Element I
- 0500-0599
- 0500.Keyboard Row
- 0501.Find Mode in Binary Search Tree
- 0502.IPO
- 0503.Next Greater Element II
- 0504.Base 7
- 0506.Relative Ranks
- 0507.Perfect Number
- 0508.Most Frequent Subtree Sum
- 0509.Fibonacci Number
- 0513.Find Bottom Left Tree Value
- 0515.Find Largest Value in Each Tree Row
- 0518.Coin Change 2
- 0520.Detect Capital
- 0521.Longest Uncommon Subsequence I
- 0522.Longest Uncommon Subsequence II
- 0523.Continuous Subarray Sum
- 0525.Contiguous Array
- 0526.Beautiful Arrangement
- 0530.Minimum Absolute Difference in BST
- 0538.Convert BST to Greater Tree
- 0541.Reverse String II
- 0542.01 Matrix
- 0543.Diameter of Binary Tree
- 0554.Brick Wall
- 0556.Next Greater Element III
- 0557.Reverse Words in a String III
- 0560.Subarray Sum Equals K
- 0561.Array Partition I
- 0563.Binary Tree Tilt
- 0566.Reshape the Matrix
- 0572.Subtree of Another Tree
- 0576.Out of Boundary Paths
- 0581.Shortest Unsorted Continuous Subarray
- 0589.N-ary Tree Preorder Traversal
- 0590.N-ary Tree Postorder Traversal
- 0600-0699
- 0605.Can Place Flowers
- 0606.Construct String from Binary Tree
- 0611.Valid Triangle Number
- 0617.Merge Two Binary Trees
- 0622.Design Circular Queue
- 0633.Sum of Square Numbers
- 0637.Average of Levels in Binary Tree
- 0645.Set Mismatch
- 0650.2 Keys Keyboard
- 0652.Find Duplicate Subtrees
- 0664.Strange Printer
- 0669.Trim a Binary Search Tree
- 0671.Second Minimum Node In a Binary Tree
- 0673.Number of Longest Increasing Subsequence
- 0674.Longest Continuous Increasing Subsequence
- 0679.24 Game
- 0682.Baseball Game
- 0684.Redundant Connection
- 0687.Longest Univalue Path
- 0690.Employee Importance
- 0695.Max Area of Island
- 0696.Count Binary Substrings
- 0697.Degree of an Array
- 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
- 0707.Design Linked List
- 0718.Maximum Length of Repeated Subarray
- 0724.Find Pivot Index
- 0725.Split Linked List in Parts
- 0739.Daily Temperatures
- 0740.Delete and Earn
- 0746.Min Cost Climbing Stairs
- 0752.Open the Lock
- 0760.Find Anagram Mappings
- 0766.Toeplitz Matrix
- 0771.Jewels and Stones
- 0777.Swap Adjacent in LR String
- 0783.Minimum Distance Between BST Nodes
- 0784.Letter Case Permutation
- 0800-0899
- 0814.Binary Tree Pruning
- 0817.Linked List Components
- 0829.Consecutive Numbers Sum
- 0832.Flipping an Image
- 0852.Peak Index in a Mountain Array
- 0856.Score of Parentheses
- 0857.Minimum Cost to Hire K Workers
- 0860.Lemonade Change
- 0862.Shortest Subarray with Sum at Least K
- 0872.Leaf-Similar Trees
- 0875.Koko Eating Bananas
- 0876.Middle of the Linked List
- 0878.Nth Magical Number
- 0883.Projection Area of 3D Shapes
- 0887.Super Egg Drop
- 0891.Sum of Subsequence Widths
- 0892.Surface Area of 3D Shapes
- 0897.Increasing Order Search Tree
- 0898.Bitwise ORs of Subarrays
- 0900-0999
- 0912.Sort an Array
- 0918.Maximum Sum Circular Subarray
- 0922.Sort Array By Parity II
- 0929.Unique Email Addresses
- 0930.Binary Subarrays With Sum
- 0931.Minimum Falling Path Sum
- 0933.Number of Recent Calls
- 0938.Range Sum of BST
- 0946.Validate Stack Sequences
- 0952.Largest Component Size by Common Factor
- 0955.Delete Columns to Make Sorted II
- 0958.Check Completeness of a Binary Tree
- 0961.N-Repeated Element in Size 2N Array
- 0973.K Closest Points to Origin
- 0977.Squares of a Sorted Array
- 0978.Longest Turbulent Subarray
- 0987.Vertical Order Traversal of a Binary Tree
- 0989.Add to Array-Form of Integer
- 0999.Available Captures for Rook
- 1000-1099
- 1004.Max Consecutive Ones III
- 1008.Construct Binary Search Tree from Preorder Traversal
- 1009.Complement of Base 10 Integer
- 1010.Pairs of Songs With Total Durations Divisible by 60
- 1012.Complement of Base 10 Integer
- 1017.Convert to Base -2
- 1019.Next Greater Node In Linked List
- 1021.Remove Outermost Parentheses
- 1022.Sum of Root To Leaf Binary Numbers
- 1025.Divisor Game
- 1026.Maximum Difference Between Node and Ancestor
- 1029.Two City Scheduling
- 1030.Matrix Cells in Distance Order
- 1033.Moving Stones Until Consecutive
- 1034.Coloring A Border
- 1036.Escape a Large Maze
- 1037.Valid Boomerang
- 1038.Binary Search Tree to Greater Sum Tree
- 1041.Robot Bounded In Circle
- 1043.Partition Array for Maximum Sum
- 1046.Last Stone Weight
- 1047.Remove All Adjacent Duplicates In String
- 1048.Longest String Chain
- 1051.Height Checker
- 1052.Grumpy Bookstore Owner
- 1053.Previous Permutation With One Swap
- 1054.Distant Barcodes
- 1071.Greatest Common Divisor of Strings
- 1072.Flip Columns For Maximum Number of Equal Rows
- 1073.Adding Two Negabinary Numbers
- 1074.Number of Submatrices That Sum to Target
- 1079.Letter Tile Possibilities
- 1080.Insufficient Nodes in Root to Leaf Paths
- 1081.Smallest Subsequence of Distinct Characters
- 1089.Duplicate Zeros
- 1090.Largest Values From Labels
- 1091.Shortest Path in Binary Matrix
- 1093.Statistics from a Large Sample
- 1094.Car Pooling
- 1095.Find in Mountain Array
- 1100-1199
- 1103.Distribute Candies to People
- 1104.Path In Zigzag Labelled Binary Tree
- 1108.Defanging an IP Address
- 1109.Corporate Flight Bookings
- 1110.Delete Nodes And Return Forest
- 1111.Maximum Nesting Depth of Two Valid Parentheses Strings
- 1114.Print in Order
- 1115.Print FooBar Alternately
- 1116.Print Zero Even Odd
- 1117.Building H2O
- 1122.Relative Sort Array
- 1123.Lowest Common Ancestor of Deepest Leaves
- 1124.Longest Well-Performing Interval
- 1128.Number of Equivalent Domino Pairs
- 1137.N-th Tribonacci Number
- 1138.Alphabet Board Path
- 1139.Largest 1-Bordered Square
- 1140.Stone Game II
- 1144.Decrease Elements To Make Array Zigzag
- 1147.Longest Chunked Palindrome Decomposition
- 1155.Number of Dice Rolls With Target Sum
- 1171.Remove Zero Sum Consecutive Nodes from Linked List
- 1184.Distance Between Bus Stops
- 1185.Day of the Week
- 1195.Fizz Buzz Multithreaded
- 1200-1299
- 1287.Element Appearing More Than 25% In Sorted Array
- 1290.Convert Binary Number in a Linked List to Integer
- 1295.Find Numbers with Even Number of Digits
- 1300-1399
- 1346.Check If N and Its Double Exist
- 1347.Minimum Number of Steps to Make Two Strings Anagram
- 1380.Lucky Numbers in a Matrix
- 1400-1499/1476.Subrectangle Queries
- 1500-1599
- 1535.Find the Winner of an Array Game
- 1537.Get the Maximum Score
- 1541.Minimum Insertions to Balance a Parentheses String
- 1544.Make The String Great
- 1545.Find Kth Bit in Nth Binary String
- 1546.Maximum Number of Non-Overlapping Subarrays With Sum Equals Target
- 1550.Three Consecutive Odds
- 1551.Minimum Operations to Make Array Equal
- 1552.Magnetic Force Between Two Balls
- 1553.Minimum Number of Days to Eat N Oranges
- 1560.Most Visited Sector in a Circular Track
- 1561.Maximum Number of Coins You Can Get
- 1562.Find Latest Group of Size M
- 1566.Detect Pattern of Length M Repeated K or More Times
- 1567.Maximum Length of Subarray With Positive Product
- 1569.Number of Ways to Reorder Array to Get Same BST
- 1572.Matrix Diagonal Sum
- 1573.Number of Ways to Split a String
- 1574.Shortest Subarray to be Removed to Make Array Sorted
- 1576.Replace All S to Avoid Consecutive Repeating Characters
- 1578.Minimum Deletion Cost to Avoid Repeating Letters
- 1579.Remove Max Number of Edges to Keep Graph Fully Traversable
- 1582.Special Positions in a Binary Matrix
- 1583.Count Unhappy Friends
- 1584.Min Cost to Connect All Points
- 1588.Sum of All Odd Length Subarrays
- notes/src/main/java/org/example
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,388 files changed
+18
-70180
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + |
Lines changed: 0 additions & 190 deletions
This file was deleted.
Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 0 additions & 73 deletions
This file was deleted.
Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 0 additions & 70 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
0 commit comments