Commit 1813233


JavaScalaDeveloper
JavaScalaDeveloper
1 parent 8a5e197 commit 1813233
File tree
727 files changed
+2780
-2793
lines changed- change
- scripts
- out
- solution
- 0000-0099
- 0002.Add Two Numbers
- 0011.Container With Most Water
- 0017.Letter Combinations of a Phone Number
- 0019.Remove Nth Node From End of List
- 0021.Merge Two Sorted Lists
- 0024.Swap Nodes in Pairs
- 0025.Reverse Nodes in k-Group
- 0036.Valid Sudoku
- 0037.Sudoku Solver
- 0038.Count and Say
- 0042.Trapping Rain Water
- 0048.Rotate Image
- 0051.N-Queens
- 0052.N-Queens II
- 0054.Spiral Matrix
- 0059.Spiral Matrix II
- 0061.Rotate List
- 0062.Unique Paths
- 0063.Unique Paths II
- 0064.Minimum Path Sum
- 0072.Edit Distance
- 0073.Set Matrix Zeroes
- 0074.Search a 2D Matrix
- 0079.Word Search
- 0082.Remove Duplicates from Sorted List II
- 0083.Remove Duplicates from Sorted List
- 0084.Largest Rectangle in Histogram
- 0085.Maximal Rectangle
- 0086.Partition List
- 0092.Reverse Linked List II
- 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
- 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
- 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
- 0124.Binary Tree Maximum Path Sum
- 0129.Sum Root to Leaf Numbers
- 0130.Surrounded Regions
- 0133.Clone Graph
- 0138.Copy List with Random Pointer
- 0141.Linked List Cycle
- 0142.Linked List Cycle II
- 0143.Reorder List
- 0144.Binary Tree Preorder Traversal
- 0145.Binary Tree Postorder Traversal
- 0147.Insertion Sort List
- 0148.Sort List
- 0149.Max Points on a Line
- 0156.Binary Tree Upside Down
- 0158.Read N Characters Given read4 II - Call Multiple Times
- 0160.Intersection of Two Linked Lists
- 0173.Binary Search Tree Iterator
- 0174.Dungeon Game
- 0199.Binary Tree Right Side View
- 0200-0299
- 0203.Remove Linked List Elements
- 0206.Reverse Linked List
- 0212.Word Search II
- 0218.The Skyline Problem
- 0221.Maximal Square
- 0222.Count Complete Tree Nodes
- 0223.Rectangle Area
- 0226.Invert Binary Tree
- 0230.Kth Smallest Element in a BST
- 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
- 0240.Search a 2D Matrix II
- 0255.Verify Preorder Sequence in Binary Search Tree
- 0257.Binary Tree Paths
- 0261.Graph Valid Tree
- 0270.Closest Binary Search Tree Value
- 0272.Closest Binary Search Tree Value II
- 0276.Paint Fence
- 0277.Find the Celebrity
- 0285.Inorder Successor in BST
- 0286.Walls and Gates
- 0289.Game of Life
- 0296.Best Meeting Point
- 0297.Serialize and Deserialize Binary Tree
- 0298.Binary Tree Longest Consecutive Sequence
- 0300-0399
- 0302.Smallest Rectangle Enclosing Black Pixels
- 0304.Range Sum Query 2D - Immutable
- 0305.Number of Islands II
- 0308.Range Sum Query 2D - Mutable
- 0310.Minimum Height Trees
- 0311.Sparse Matrix Multiplication
- 0314.Binary Tree Vertical Order Traversal
- 0317.Shortest Distance from All Buildings
- 0319.Bulb Switcher
- 0323.Number of Connected Components in an Undirected Graph
- 0328.Odd Even Linked List
- 0329.Longest Increasing Path in a Matrix
- 0331.Verify Preorder Serialization of a Binary Tree
- 0332.Reconstruct Itinerary
- 0333.Largest BST Subtree
- 0335.Self Crossing
- 0337.House Robber III
- 0339.Nested List Weight Sum
- 0351.Android Unlock Patterns
- 0353.Design Snake Game
- 0356.Line Reflection
- 0361.Bomb Enemy
- 0363.Max Sum of Rectangle No Larger Than K
- 0364.Nested List Weight Sum II
- 0373.Find K Pairs with Smallest Sums
- 0375.Guess Number Higher or Lower II
- 0382.Linked List Random Node
- 0388.Longest Absolute File Path
- 0391.Perfect Rectangle
- 0398.Random Pick Index
- 0400-0499
- 0401.Binary Watch
- 0404.Sum of Left Leaves
- 0407.Trapping Rain Water II
- 0417.Pacific Atlantic Water Flow
- 0419.Battleships in a Board
- 0426.Convert Binary Search Tree to Sorted Doubly Linked List
- 0427.Construct Quad Tree
- 0428.Serialize and Deserialize N-ary Tree
- 0429.N-ary Tree Level Order Traversal
- 0430.Flatten a Multilevel Doubly Linked List
- 0431.Encode N-ary Tree to Binary Tree
- 0437.Path Sum III
- 0441.Arranging Coins
- 0445.Add Two Numbers II
- 0450.Delete Node in a BST
- 0463.Island Perimeter
- 0469.Convex Polygon
- 0473.Matchsticks to Square
- 0490.The Maze
- 0497.Random Point in Non-overlapping Rectangles
- 0498.Diagonal Traverse
- 0499.The Maze III
- 0500-0599
- 0500.Keyboard Row
- 0501.Find Mode in Binary Search Tree
- 0505.The Maze II
- 0508.Most Frequent Subtree Sum
- 0510.Inorder Successor in BST II
- 0513.Find Bottom Left Tree Value
- 0514.Freedom Trail
- 0515.Find Largest Value in Each Tree Row
- 0529.Minesweeper
- 0530.Minimum Absolute Difference in BST
- 0531.Lonely Pixel I
- 0533.Lonely Pixel II
- 0536.Construct Binary Tree from String
- 0538.Convert BST to Greater Tree
- 0542.01 Matrix
- 0545.Boundary of Binary Tree
- 0547.Number of Provinces
- 0549.Binary Tree Longest Consecutive Sequence II
- 0554.Brick Wall
- 0558.Logical OR of Two Binary Grids Represented as Quad-Trees
- 0559.Maximum Depth of N-ary Tree
- 0562.Longest Line of Consecutive One in Matrix
- 0563.Binary Tree Tilt
- 0566.Reshape the Matrix
- 0572.Subtree of Another Tree
- 0573.Squirrel Simulation
- 0576.Out of Boundary Paths
- 0582.Kill Process
- 0587.Erect the Fence
- 0588.Design In-Memory File System
- 0589.N-ary Tree Preorder Traversal
- 0590.N-ary Tree Postorder Traversal
- 0598.Range Addition II
- 0600-0699
- 0606.Construct String from Binary Tree
- 0617.Merge Two Binary Trees
- 0623.Add One Row to Tree
- 0633.Sum of Square Numbers
- 0636.Exclusive Time of Functions
- 0637.Average of Levels in Binary Tree
- 0652.Find Duplicate Subtrees
- 0653.Two Sum IV - Input is a BST
- 0654.Maximum Binary Tree
- 0655.Print Binary Tree
- 0661.Image Smoother
- 0662.Maximum Width of Binary Tree
- 0666.Path Sum IV
- 0668.Kth Smallest Number in Multiplication Table
- 0669.Trim a Binary Search Tree
- 0671.Second Minimum Node In a Binary Tree
- 0675.Cut Off Trees for Golf Event
- 0684.Redundant Connection
- 0685.Redundant Connection II
- 0687.Longest Univalue Path
- 0688.Knight Probability in Chessboard
- 0694.Number of Distinct Islands
- 0695.Max Area of Island
- 0699.Falling Squares
- 0700-0799
- 0700.Search in a Binary Search Tree
- 0701.Insert into a Binary Search Tree
- 0708.Insert into a Sorted Circular Linked List
- 0711.Number of Distinct Islands II
- 0723.Candy Crush
- 0725.Split Linked List in Parts
- 0733.Flood Fill
- 0741.Cherry Pickup
- 0742.Closest Leaf in a Binary Tree
- 0743.Network Delay Time
- 0749.Contain Virus
- 0750.Number Of Corner Rectangles
- 0756.Pyramid Transition Matrix
- 0764.Largest Plus Sign
- 0766.Toeplitz Matrix
- 0773.Sliding Puzzle
- 0776.Split BST
- 0778.Swim in Rising Water
- 0782.Transform to Chessboard
- 0783.Minimum Distance Between BST Nodes
- 0785.Is Graph Bipartite
- 0787.Cheapest Flights Within K Stops
- 0790.Domino and Tromino Tiling
- 0794.Valid Tic-Tac-Toe State
- 0797.All Paths From Source to Target
- 0799.Champagne Tower
- 0800-0899
- 0802.Find Eventual Safe States
- 0807.Max Increase to Keep City Skyline
- 0812.Largest Triangle Area
- 0814.Binary Tree Pruning
- 0817.Linked List Components
- 0833.Find And Replace in String
- 0834.Sum of Distances in Tree
- 0835.Image Overlap
- 0838.Push Dominoes
- 0840.Magic Squares In Grid
- 0847.Shortest Path Visiting All Nodes
- 0849.Maximize Distance to Closest Person
- 0850.Rectangle Area II
- 0858.Mirror Reflection
- 0861.Score After Flipping Matrix
- 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
- 0872.Leaf-Similar Trees
- 0876.Middle of the Linked List
- 0882.Reachable Nodes In Subdivided Graph
- 0883.Projection Area of 3D Shapes
- 0885.Spiral Matrix III
- 0889.Construct Binary Tree from Preorder and Postorder Traversal
- 0892.Surface Area of 3D Shapes
- 0894.All Possible Full Binary Trees
- 0897.Increasing Order Search Tree
- 0900-0999
- 0909.Snakes and Ladders
- 0913.Cat and Mouse
- 0919.Complete Binary Tree Inserter
- 0931.Minimum Falling Path Sum
- 0935.Knight Dialer
- 0938.Range Sum of BST
- 0941.Valid Mountain Array
- 0951.Flip Equivalent Binary Trees
- 0952.Largest Component Size by Common Factor
- 0958.Check Completeness of a Binary Tree
- 0959.Regions Cut By Slashes
- 0963.Minimum Area Rectangle II
- 0965.Univalued Binary Tree
- 0968.Binary Tree Cameras
- 0971.Flip Binary Tree To Match Preorder Traversal
- 0973.K Closest Points to Origin
- 0979.Distribute Coins in Binary Tree
- 0986.Interval List Intersections
- 0987.Vertical Order Traversal of a Binary Tree
- 0988.Smallest String Starting From Leaf
- 0993.Cousins in Binary Tree
- 0994.Rotting Oranges
- 0998.Maximum Binary Tree II
- 0999.Available Captures for Rook
- 1000-1099
- 1001.Grid Illumination
- 1007.Minimum Domino Rotations For Equal Row
- 1008.Construct Binary Search Tree from Preorder Traversal
- 1019.Next Greater Node In Linked List
- 1020.Number of Enclaves
- 1022.Sum of Root To Leaf Binary Numbers
- 1026.Maximum Difference Between Node and Ancestor
- 1028.Recover a Tree From Preorder Traversal
- 1035.Uncrossed Lines
- 1038.Binary Search Tree to Greater Sum Tree
- 1039.Minimum Score Triangulation of Polygon
- 1056.Confusing Number
- 1057.Campus Bikes
- 1059.All Paths from Source Lead to Destination
- 1066.Campus Bikes II
- 1074.Number of Submatrices That Sum to Target
- 1080.Insufficient Nodes in Root to Leaf Paths
- 1091.Shortest Path in Binary Matrix
- 1100-1199
- 1102.Path With Maximum Minimum Value
- 1104.Path In Zigzag Labelled Binary Tree
- 1105.Filling Bookcase Shelves
- 1110.Delete Nodes And Return Forest
- 1111.Maximum Nesting Depth of Two Valid Parentheses Strings
- 1120.Maximum Average Subtree
- 1123.Lowest Common Ancestor of Deepest Leaves
- 1130.Minimum Cost Tree From Leaf Values
- 1135.Connecting Cities With Minimum Cost
- 1136.Parallel Courses
- 1138.Alphabet Board Path
- 1145.Binary Tree Coloring Game
- 1147.Longest Chunked Palindrome Decomposition
- 1161.Maximum Level Sum of a Binary Tree
- 1162.As Far from Land as Possible
- 1168.Optimize Water Distribution in a Village
- 1184.Distance Between Bus Stops
- 1185.Day of the Week
- 1189.Maximum Number of Balloons
- 1192.Critical Connections in a Network
- 1197.Minimum Knight Moves
- 1200-1299
- 1203.Sort Items by Groups Respecting Dependencies
- 1206.Design Skiplist
- 1210.Minimum Moves to Reach Target with Rotations
- 1214.Two Sum BSTs
- 1217.Minimum Cost to Move Chips to The Same Position
- 1222.Queens That Can Attack the King
- 1226.The Dining Philosophers
- 1232.Check If It Is a Straight Line
- 1235.Maximum Profit in Job Scheduling
- 1236.Web Crawler
- 1240.Tiling a Rectangle with the Fewest Squares
- 1242.Web Crawler Multithreaded
- 1245.Tree Diameter
- 1252.Cells with Odd Values in a Matrix
- 1254.Number of Closed Islands
- 1256.Encode Number
- 1259.Handshakes That Don't Cross
- 1260.Shift 2D Grid
- 1261.Find Elements in a Contaminated Binary Tree
- 1263.Minimum Moves to Move a Box to Their Target Location
- 1266.Minimum Time Visiting All Points
- 1267.Count Servers that Communicate
- 1272.Remove Interval
- 1273.Delete Tree Nodes
- 1274.Number of Ships in a Rectangle
- 1279.Traffic Light Controlled Intersection
- 1284.Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
- 1289.Minimum Falling Path Sum II
- 1290.Convert Binary Number in a Linked List to Integer
- 1292.Maximum Side Length of a Square with Sum Less than or Equal to Threshold
- 1293.Shortest Path in a Grid with Obstacles Elimination
- 1300-1399
- 1302.Deepest Leaves Sum
- 1305.All Elements in Two Binary Search Trees
- 1311.Get Watched Videos by Your Friends
- 1315.Sum of Nodes with Even-Valued Grandparent
- 1318.Minimum Flips to Make a OR b Equal to c
- 1319.Number of Operations to Make Network Connected
- 1320.Minimum Distance to Type a Word Using Two Fingers
- 1322.Ads Performance
- 1325.Delete Leaves With a Given Value
- 1326.Minimum Number of Taps to Open to Water a Garden
- 1329.Sort the Matrix Diagonally
- 1330.Reverse Subarray To Maximize Array Value
- 1334.Find the City With the Smallest Number of Neighbors at a Threshold Distance
- 1335.Minimum Difficulty of a Job Schedule
- 1336.Number of Transactions per Visit
- 1339.Maximum Product of Splitted Binary Tree
- 1340.Jump Game V
- 1344.Angle Between Hands of a Clock
- 1349.Maximum Students Taking Exam
- 1353.Maximum Number of Events That Can Be Attended
- 1361.Validate Binary Tree Nodes
- 1367.Linked List in Binary Tree
- 1368.Minimum Cost to Make at Least One Valid Path in a Grid
- 1372.Longest ZigZag Path in a Binary Tree
- 1373.Maximum Sum BST in Binary Tree
- 1376.Time Needed to Inform All Employees
- 1377.Frog Position After T Seconds
- 1379.Find a Corresponding Node of a Binary Tree in a Clone of That Tree
- 1382.Balance a Binary Search Tree
- 1386.Cinema Seat Allocation
- 1388.Pizza With 3n Slices
- 1391.Check if There is a Valid Path in a Grid
- 1400-1499
- 1401.Circle and Rectangle Overlapping
- 1411.Number of Ways to Paint N × 3 Grid
- 1420.Build Array Where You Can Find The Maximum Exactly K Comparisons
- 1424.Diagonal Traverse II
- 1428.Leftmost Column with at Least a One
- 1430.Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
- 1437.Check If All 1's Are at Least Length K Places Away
- 1443.Minimum Time to Collect All Apples in a Tree
- 1444.Number of Ways of Cutting a Pizza
- 1448.Count Good Nodes in Binary Tree
- 1453.Maximum Number of Darts Inside of a Circular Dartboard
- 1457.Pseudo-Palindromic Paths in a Binary Tree
- 1458.Max Dot Product of Two Subsequences
- 1459.Rectangles Area
- 1462.Course Schedule IV
- 1463.Cherry Pickup II
- 1465.Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
- 1466.Reorder Routes to Make All Paths Lead to the City Zero
- 1469.Find All The Lonely Nodes
- 1474.Delete N Nodes After M Nodes of a Linked List
- 1478.Allocate Mailboxes
- 1483.Kth Ancestor of a Tree Node
- 1485.Clone Binary Tree With Random Pointer
- 1489.Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
- 1490.Clone N-ary Tree
- 1494.Parallel Courses II
- 1496.Path Crossing
- 1500-1599
- 1503.Last Moment Before All Ants Fall Out of a Plank
- 1504.Count Submatrices With All Ones
- 1505.Minimum Possible Integer After at Most K Adjacent Swaps On Digits
- 1506.Find Root of N-Ary Tree
- 1514.Path with Maximum Probability
- 1515.Best Position for a Service Centre
- 1516.Move Sub-Tree of N-Ary Tree
- 1518.Water Bottles
- 1519.Number of Nodes in the Sub-Tree With the Same Label
- 1521.Find a Value of a Mysterious Function Closest to Target
- 1522.Diameter of N-Ary Tree
- 1528.Shuffle String
- 1530.Number of Good Leaf Nodes Pairs
- 1535.Find the Winner of an Array Game
- 1536.Minimum Swaps to Arrange a Binary Grid
- 1537.Get the Maximum Score
- 1547.Minimum Cost to Cut a Stick
- 1548.The Most Similar Path in a Graph
- 1552.Magnetic Force Between Two Balls
- 1557.Minimum Number of Vertices to Reach All Nodes
- 1558.Minimum Numbers of Function Calls to Make Target Array
- 1559.Detect Cycles in 2D Grid
- 1560.Most Visited Sector in a Circular Track
- 1564.Put Boxes Into the Warehouse I
- 1568.Minimum Number of Days to Disconnect Island
- 1569.Number of Ways to Reorder Array to Get Same BST
- 1572.Matrix Diagonal Sum
- 1578.Minimum Time to Make Rope Colorful
- 1579.Remove Max Number of Edges to Keep Graph Fully Traversable
- 1580.Put Boxes Into the Warehouse II
- 1584.Min Cost to Connect All Points
- 1586.Binary Search Tree Iterator II
- 1591.Strange Printer II
- 1594.Maximum Non Negative Product in a Matrix
- 1595.Minimum Cost to Connect Two Groups of Points
- 1597.Build Binary Expression Tree From Infix Expression
- 1598.Crawler Log Folder
- 1599.Maximum Profit of Operating a Centennial Wheel
- 1600-1699
- 1601.Maximum Number of Achievable Transfer Requests
- 1602.Find Nearest Right Node in Binary Tree
- 1606.Find Servers That Handled Most Number of Requests
- 1609.Even Odd Tree
- 1610.Maximum Number of Visible Points
- 1612.Check If Two Expression Trees are Equivalent
- 1615.Maximal Network Rank
- 1617.Count Subtrees With Max Distance Between Cities
- 1620.Coordinate With Maximum Network Quality
- 1621.Number of Sets of K Non-Overlapping Line Segments
- 1627.Graph Connectivity With Threshold
- 1628.Design an Expression Tree With Evaluate Function
- 1631.Path With Minimum Effort
- 1632.Rank Transform of a Matrix
- 1634.Add Two Polynomials Represented as Linked Lists
- 1637.Widest Vertical Area Between Two Points Containing No Points
- 1642.Furthest Building You Can Reach
- 1643.Kth Smallest Instructions
- 1644.Lowest Common Ancestor of a Binary Tree II
- 1645.Hopper Company Queries II
- 1648.Sell Diminishing-Valued Colored Balls
- 1650.Lowest Common Ancestor of a Binary Tree III
- 1656.Design an Ordered Stream
- 1659.Maximize Grid Happiness
- 1660.Correct a Binary Tree
- 1666.Change the Root of a Binary Tree
- 1669.Merge In Between Linked Lists
- 1672.Richest Customer Wealth
- 1676.Lowest Common Ancestor of a Binary Tree IV
- 1691.Maximum Height by Stacking Cuboids
- 1692.Count Ways to Distribute Candies
- 1697.Checking Existence of Edge Length Limited Paths
- 1700-1799
- 1706.Where Will the Ball Fall
- 1719.Number Of Ways To Reconstruct A Tree
- 1721.Swapping Nodes in a Linked List
- 1724.Checking Existence of Edge Length Limited Paths II
- 1727.Largest Submatrix With Rearrangements
- 1728.Cat and Mouse II
- 1730.Shortest Path to Get Food
- 1739.Building Boxes
- 1740.Find Distance in a Binary Tree
- 1751.Maximum Number of Events That Can Be Attended II
- 1761.Minimum Degree of a Connected Trio in a Graph
- 1765.Map of Highest Peak
- 1766.Tree of Coprimes
- 1782.Count Pairs Of Nodes
- 1786.Number of Restricted Paths From First to Last Node
- 1791.Find Center of Star Graph
- 1797.Design Authentication Manager
- 1800-1899
- 1801.Number of Orders in the Backlog
- 1812.Determine Color of a Chessboard Square
- 1819.Number of Different Subsequences GCDs
- 1823.Find the Winner of the Circular Game
- 1824.Minimum Sideway Jumps
- 1828.Queries on Number of Points Inside a Circle
- 1836.Remove Duplicates From an Unsorted Linked List
- 1840.Maximum Building Height
- 1857.Largest Color Value in a Directed Graph
- 1861.Rotating the Box
- 1878.Get Biggest Three Rhombus Sums in a Grid
- 1886.Determine Whether Matrix Can Be Obtained By Rotation
- 1895.Largest Magic Square
- 1900-1999
- 1901.Find a Peak Element II
- 1902.Depth of BST Given Insertion Order
- 1905.Count Sub Islands
- 1914.Cyclically Rotating a Grid
- 1916.Count Ways to Build Rooms in an Ant Colony
- 1924.Erect the Fence II
- 1926.Nearest Exit from Entrance in Maze
- 1928.Minimum Cost to Reach Destination in Time
- 1931.Painting a Grid With Three Different Colors
- 1932.Merge BSTs to Create Single BST
- 1937.Maximum Number of Points with Cost
- 1938.Maximum Genetic Difference Query
- 1943.Describe the Painting
- 1944.Number of Visible People in a Queue
- 1948.Delete Duplicate Folders in System
- 1954.Minimum Garden Perimeter to Collect Enough Apples
- 1956.Minimum Time For K Virus Variants to Spread
- 1958.Check if Move is Legal
- 1970.Last Day Where You Can Still Cross
- 1971.Find if Path Exists in Graph
- 1973.Count Nodes Equal to Sum of Descendants
- 1974.Minimum Time to Type Word Using Special Typewriter
- 1975.Maximum Matrix Sum
- 1976.Number of Ways to Arrive at Destination
- 1981.Minimize the Difference Between Target and Chosen Elements
- 1992.Find All Groups of Farmland
- 1993.Operations on Tree
- 2000-2099
- 2002.Maximum Product of the Length of Two Palindromic Subsequences
- 2003.Smallest Missing Genetic Value in Each Subtree
- 2005.Subtree Removal Game with Fibonacci Tree
- 2013.Detect Squares
- 2014.Longest Subsequence Repeated k Times
- 2015.Average Height of Buildings in Each Segment
- 2017.Grid Game
- 2018.Check if Word Can Be Placed In Crossword
- 2019.The Score of Students Solving Math Expression
- 2021.Brightest Position on Street
- 2022.Convert 1D Array Into 2D Array
- 2030.Smallest K-Length Subsequence With Occurrences of a Letter
- 2033.Minimum Operations to Make a Uni-Value Grid
- 2035.Partition Array Into Two Arrays to Minimize Sum Difference
- 2039.The Time When the Network Becomes Idle
- 2042.Check if Numbers Are Ascending in a Sentence
- 2045.Second Minimum Time to Reach Destination
- 2046.Sort Linked List Already Sorted Using Absolute Values
- 2049.Count Nodes With the Highest Score
- 2050.Parallel Courses III
- 2054.Two Best Non-Overlapping Events
- 2055.Plates Between Candles
- 2056.Number of Valid Move Combinations On Chessboard
- 2058.Find the Minimum and Maximum Number of Nodes Between Critical Points
- 2061.Number of Spaces Cleaning Robot Cleaned
- 2065.Maximum Path Quality of a Graph
- 2069.Walking Robot Simulation II
- 2074.Reverse Nodes in Even Length Groups
- 2075.Decode the Slanted Ciphertext
- 2077.Paths in Maze That Lead to Same Room
- 2078.Two Furthest Houses With Different Colors
- 2087.Minimum Cost Homecoming of a Robot in a Grid
- 2088.Count Fertile Pyramids in a Land
- 2090.K Radius Subarray Averages
- 2093.Minimum Cost to Reach City With Discounts
- 2095.Delete the Middle Node of a Linked List
- 2096.Step-By-Step Directions From a Binary Tree Node to Another
- 2100-2199
- 2101.Detonate the Maximum Bombs
- 2103.Rings and Rods
- 2106.Maximum Fruits Harvested After at Most K Steps
- 2116.Check if a Parentheses String Can Be Valid
- 2120.Execution of All Suffix Instructions Staying in a Grid
- 2123.Minimum Operations to Remove Adjacent Ones in Matrix
- 2125.Number of Laser Beams in a Bank
- 2127.Maximum Employees to Be Invited to a Meeting
- 2128.Remove All Ones With Row and Column Flips
- 2130.Maximum Twin Sum of a Linked List
- 2132.Stamping the Grid
- 2133.Check if Every Row and Column Contains All Numbers
- 2136.Earliest Possible Day of Full Bloom
- 2141.Maximum Running Time of N Computers
- 2146.K Highest Ranked Items Within a Price Range
- 2147.Number of Ways to Divide a Long Corridor
- 2151.Maximum Good People Based on Statements
- 2152.Minimum Number of Lines to Cover Points
- 2158.Amount of New Area Painted Each Day
- 2162.Minimum Cost to Set Cooking Time
- 2174.Remove All Ones With Row and Column Flips II
- 2181.Merge Nodes in Between Zeros
- 2184.Number of Ways to Build Sturdy Brick Wall
- 2189.Number of Ways to Build House of Cards
- 2192.All Ancestors of a Node in a Directed Acyclic Graph
- 2194.Cells in a Range on an Excel Sheet
- 2196.Create Binary Tree From Descriptions
- 2200-2299
- 2201.Count Artifacts That Can Be Extracted
- 2203.Minimum Weighted Subgraph With the Required Paths
- 2204.Distance to a Cycle in Undirected Graph
- 2209.Minimum White Tiles After Covering With Carpets
- 2212.Maximum Points in an Archery Competition
- 2218.Maximum Value of K Coins From Piles
- 2221.Find Triangular Sum of an Array
- 2236.Root Equals Sum of Children
- 2237.Count Positions on Street With Required Brightness
- 2242.Maximum Score of a Node Sequence
- 2245.Maximum Trailing Zeros in a Cornered Path
- 2246.Longest Path With Different Adjacent Characters
- 2247.Maximum Cost of Trip With K Highways
- 2249.Count Lattice Points Inside a Circle
- 2250.Count Number of Rectangles Containing Each Point
- 2251.Number of Flowers in Full Bloom
- 2257.Count Unguarded Cells in the Grid
- 2258.Escape the Spreading Fire
- 2265.Count Nodes Equal to Average of Subtree
- 2266.Count Number of Texts
- 2267.Check if There Is a Valid Parentheses String Path
- 2268.Minimum Number of Keypresses
- 2271.Maximum White Tiles Covered by a Carpet
- 2277.Closest Node to Path in Tree
- 2280.Minimum Lines to Represent a Line Chart
- 2282.Number of People That Can Be Seen in a Grid
- 2285.Maximum Total Importance of Roads
- 2290.Minimum Obstacle Removal to Reach Corner
- 2293.Min Max Game
- 2300-2399
- 2304.Minimum Path Cost in a Grid
- 2312.Selling Pieces of Wood
- 2313.Minimum Flips in Binary Tree to Get Result
- 2316.Count Unreachable Pairs of Nodes in an Undirected Graph
- 2319.Check if Matrix Is X-Matrix
- 2320.Count Number of Ways to Place Houses
- 2322.Minimum Score After Removals on a Tree
- 2325.Decode the Message
- 2326.Spiral Matrix IV
- 2328.Number of Increasing Paths in a Grid
- 2331.Evaluate Boolean Binary Tree
- 2345.Finding the Number of Visible Mountains
- 2352.Equal Row and Column Pairs
- 2359.Find Closest Node to Given Two Nodes
- 2360.Longest Cycle in a Graph
- 2361.Minimum Costs Using the Train Line
- 2368.Reachable Nodes With Restrictions
- 2371.Minimize Maximum Value in a Grid
- 2373.Largest Local Values in a Matrix
- 2374.Node With Highest Edge Score
- 2378.Choose Edges to Maximize Score in a Tree
- 2385.Amount of Time for Binary Tree to Be Infected
- 2392.Build a Matrix With Conditions
- 2397.Maximum Rows Covered by Columns
- 2400-2499
- 2415.Reverse Odd Levels of Binary Tree
- 2421.Number of Good Paths
- 2428.Maximum Sum of an Hourglass
- 2435.Paths in Matrix Whose Sum Is Divisible by K
- 2440.Create Components With Same Value
- 2445.Number of Nodes With Value One
- 2446.Determine if Two Events Have Conflict
- 2458.Height of Binary Tree After Subtree Removal Queries
- 2463.Minimum Total Distance Traveled
- 2467.Most Profitable Path in a Tree
- 2471.Minimum Number of Operations to Sort a Binary Tree by Level
- 2473.Minimum Cost to Buy Apples
- 2476.Closest Nodes Queries in a Binary Search Tree
- 2477.Minimum Fuel Cost to Report to the Capital
- 2479.Maximum XOR of Two Non-Overlapping Subtrees
- 2481.Minimum Cuts to Divide a Circle
- 2482.Difference Between Ones and Zeros in Row and Column
- 2487.Remove Nodes From Linked List
- 2492.Minimum Score of a Path Between Two Cities
- 2493.Divide Nodes Into the Maximum Number of Groups
- 2497.Maximum Star Sum of a Graph
- 2498.Frog Jump II
- 2500-2599
- 2500.Delete Greatest Value in Each Row
- 2503.Maximum Number of Points From Grid Queries
- 2508.Add Edges to Make Degrees of All Nodes Even
- 2509.Cycle Length Queries in a Tree
- 2510.Check if There is a Path With Equal Number of 0's And 1's
- 2536.Increment Submatrices by One
- 2538.Difference Between Maximum and Minimum Price Sum
- 2545.Sort the Students by Their Kth Score
- 2550.Count Collisions of Monkeys on a Polygon
- 2556.Disconnect Path in a Binary Matrix by at Most One Flip
- 2577.Minimum Time to Visit a Cell In a Grid
- 2579.Count Total Number of Colored Cells
- 2581.Count Number of Possible Root Nodes
- 2583.Kth Largest Sum in a Binary Tree
- 2584.Split the Array to Make Coprime Products
- 2596.Check Knight Tour Configuration
- 2600-2699
- 2603.Collect Coins in a Tree
- 2608.Shortest Cycle in a Graph
- 2614.Prime In Diagonal
- 2617.Minimum Number of Visited Cells in a Grid
- 2624.Snail Traversal
- 2627.Debounce
- 2641.Cousins in Binary Tree II
- 2642.Design Graph With Shortest Path Calculator
- 2646.Minimize the Total Price of the Trips
- 2647.Color the Triangle Red
- 2658.Maximum Number of Fish in a Grid
- 2661.First Completely Painted Row or Column
- 2673.Make Costs of Paths Equal in a Binary Tree
- 2676.Throttle
- 2684.Maximum Number of Moves in a Grid
- 2685.Count the Number of Complete Components
- 2689.Extract Kth Character From The Rope Tree
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
727 files changed
+2780
-2793
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + |
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
| 30 | + | |
| 31 | + | |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 1381 additions & 1381 deletions
Large diffs are not rendered by default.
Binary file not shown.
0 commit comments