Tag: matrix
- 01 Matrix
- As Far from Land as Possible
- Available Captures for Rook
- Battleships in a Board
- Best Meeting Point
- Bomb Enemy
- Bricks Falling When Hit
- Build a Matrix With Conditions
- Candy Crush
- Cat and Mouse II
- Check if Every Row and Column Contains All Numbers
- Check if Grid Satisfies Conditions
- Check if Matrix Is X-Matrix
- Check if Move is Legal
- Check if There is a Path With Equal Number of 0's And 1's
- Check if There Is a Valid Parentheses String Path
- Check if There is a Valid Path in a Grid
- Check if Word Can Be Placed In Crossword
- Check Knight Tour Configuration
- Cherry Pickup II
- Cherry Pickup
- Coloring A Border
- Construct 2D Grid Matching Graph Layout
- Construct Product Matrix
- Construct Quad Tree
- Contain Virus
- Convert 1D Array Into 2D Array
- Count Fertile Pyramids in a Land
- Count Negative Numbers in a Sorted Matrix
- Count Paths With the Given XOR Value
- Count Servers that Communicate
- Count Square Submatrices with All Ones
- Count Sub Islands
- Count Submatrices With All Ones
- Count Submatrices With Equal Frequency of X and Y
- Count Submatrices with Top-Left Element and Sum Less Than k
- Count Unguarded Cells in the Grid
- Cut Off Trees for Golf Event
- Cyclically Rotating a Grid
- Delete Greatest Value in Each Row
- Design a 3D Binary Matrix with Efficient Layer Tracking
- Design Excel Sum Formula
- Design Neighbor Sum Service
- Design Spreadsheet
- Design Tic-Tac-Toe
- Detect Cycles in 2D Grid
- Determine Whether Matrix Can Be Obtained By Rotation
- Diagonal Traverse
- Difference Between Ones and Zeros in Row and Column
- Difference of Number of Distinct Values on Diagonals
- Disconnect Path in a Binary Matrix by at Most One Flip
- Dungeon Game
- Equal Row and Column Pairs
- Escape the Spreading Fire
- Find a Good Subset of the Matrix
- Find a Peak Element II
- Find a Safe Walk Through a Grid
- Find All Groups of Farmland
- Find Champion I
- Find Kth Largest XOR Coordinate Value
- Find Minimum Time to Reach Last Room I
- Find Minimum Time to Reach Last Room II
- Find Missing and Repeated Values
- Find Smallest Common Element in All Rows
- Find Sorted Submatrices With Maximum Element at Most K
- Find the Grid of Region Average
- Find the Kth Smallest Sum of a Matrix With Sorted Rows
- Find the Maximum Number of Fruits Collected
- Find the Minimum Area to Cover All Ones I
- Find the Minimum Area to Cover All Ones II
- Find the Safest Path in a Grid
- Find the String with LCP
- Find the Width of Columns of a Grid
- Find Valid Matrix Given Row and Column Sums
- Find Winner on a Tic Tac Toe Game
- First Completely Painted Row or Column
- Flip Columns For Maximum Number of Equal Rows
- Flipping an Image
- Flood Fill
- Game of Life
- Get Biggest Three Rhombus Sums in a Grid
- Grid Game
- Image Overlap
- Image Smoother
- Increment Submatrices by One
- Island Perimeter
- K Highest Ranked Items Within a Price Range
- Kth Smallest Element in a Sorted Matrix
- Largest 1-Bordered Square
- Largest Local Values in a Matrix
- Largest Magic Square
- Largest Submatrix With Rearrangements
- Last Day Where You Can Still Cross
- Leftmost Column with at Least a One
- Length of Longest V-Shaped Diagonal Segment
- Lonely Pixel I
- Lonely Pixel II
- Longest Increasing Path in a Matrix
- Longest Line of Consecutive One in Matrix
- Lucky Numbers in a Matrix
- Magic Squares In Grid
- Make a Square with the Same Color
- Making A Large Island
- Map of Highest Peak
- Match Alphanumerical Pattern in Matrix I
- Matrix Block Sum
- Matrix Cells in Distance Order
- Matrix Diagonal Sum
- Matrix Similarity After Cyclic Shifts
- Max Area of Island
- Max Increase to Keep City Skyline
- Max Sum of Rectangle No Larger Than K
- Maximal Rectangle
- Maximal Square
- Maximum Amount of Money Robot Can Earn
- Maximum Difference Score in a Grid
- Maximum Matrix Sum
- Maximum Non Negative Product in a Matrix
- Maximum Number of Accepted Invitations
- Maximum Number of Fish in a Grid
- Maximum Number of Moves in a Grid
- Maximum Number of Points From Grid Queries
- Maximum Number of Points with Cost
- Maximum Points Tourist Can Earn
- Maximum Rows Covered by Columns
- Maximum Score From Grid Operations
- Maximum Side Length of a Square with Sum Less than or Equal to Threshold
- Maximum Spending After Buying Items
- Maximum Strictly Increasing Cells in a Matrix
- Maximum Students Taking Exam
- Maximum Sum of an Hourglass
- Maximum Sum With at Most K Elements
- Maximum Trailing Zeros in a Cornered Path
- Maximum Vacation Days
- Maximum Value Sum by Placing Three Rooks I
- Maximum Value Sum by Placing Three Rooks II
- Median of a Row Wise Sorted Matrix
- Minesweeper
- Minimize Maximum Value in a Grid
- Minimize the Difference Between Target and Chosen Elements
- Minimum Cost to Connect Two Groups of Points
- Minimum Cost to Make at Least One Valid Path in a Grid
- Minimum Falling Path Sum II
- Minimum Falling Path Sum
- Minimum Moves to Move a Box to Their Target Location
- Minimum Moves to Reach Target with Rotations
- Minimum Moves to Spread Stones Over Grid
- Minimum Number of Days to Disconnect Island
- Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
- Minimum Number of Flips to Make Binary Grid Palindromic I
- Minimum Number of Flips to Make Binary Grid Palindromic II
- Minimum Number of Operations to Satisfy Conditions
- Minimum Number of Visited Cells in a Grid
- Minimum Obstacle Removal to Reach Corner
- Minimum Operations to Make a Uni-Value Grid
- Minimum Operations to Make Columns Strictly Increasing
- Minimum Operations to Remove Adjacent Ones in Matrix
- Minimum Operations to Write the Letter Y on a Grid
- Minimum Path Cost in a Grid
- Minimum Path Sum
- Minimum Swaps to Arrange a Binary Grid
- Minimum Time Takes to Reach Destination Without Drowning
- Minimum Time to Visit a Cell In a Grid
- Modify the Matrix
- Most Frequent Prime
- Nearest Exit from Entrance in Maze
- Number of Closed Islands
- Number Of Corner Rectangles
- Number of Enclaves
- Number of Increasing Paths in a Grid
- Number of Islands
- Number of Laser Beams in a Bank
- Number of Paths with Max Score
- Number of People That Can Be Seen in a Grid
- Number of Spaces Cleaning Robot Cleaned
- Number of Submatrices That Sum to Target
- Number of Ways of Cutting a Pizza
- Pacific Atlantic Water Flow
- Path with Maximum Gold
- Path With Maximum Minimum Value
- Path With Minimum Effort
- Paths in Matrix Whose Sum Is Divisible by K
- Prime In Diagonal
- Projection Area of 3D Shapes
- Queens That Can Attack the King
- Range Sum Query 2D - Immutable
- Range Sum Query 2D - Mutable
- Rank Transform of a Matrix
- Reconstruct a 2-Row Binary Matrix
- Regions Cut By Slashes
- Remove All Ones With Row and Column Flips II
- Remove All Ones With Row and Column Flips
- Reshape the Matrix
- Richest Customer Wealth
- Rotate Image
- Rotating the Box
- Rotting Oranges
- Row With Maximum Ones
- Score After Flipping Matrix
- Search a 2D Matrix II
- Search a 2D Matrix
- Select Cells in Grid With Maximum Score
- Set Matrix Zeroes
- Shift 2D Grid
- Shortest Bridge
- Shortest Distance from All Buildings
- Shortest Path in a Grid with Obstacles Elimination
- Shortest Path in Binary Matrix
- Shortest Path to Get All Keys
- Shortest Path to Get Food
- Sliding Puzzle
- Smallest Rectangle Enclosing Black Pixels
- Snakes and Ladders
- Sort Matrix by Diagonals
- Sort the Matrix Diagonally
- Sort the Students by Their Kth Score
- Sparse Matrix Multiplication
- Special Positions in a Binary Matrix
- Spiral Matrix II
- Spiral Matrix III
- Spiral Matrix IV
- Spiral Matrix
- Stamping the Grid
- Strange Printer II
- Subrectangle Queries
- Sudoku Solver
- Sum in a Matrix
- Sum of Remoteness of All Cells
- Surface Area of 3D Shapes
- Surrounded Regions
- Swim in Rising Water
- The K Weakest Rows in a Matrix
- The Knight’s Tour
- The Maze II
- The Maze III
- The Maze
- Toeplitz Matrix
- Transform to Chessboard
- Transpose Matrix
- Trapping Rain Water II
- Unique Paths II
- Unique Paths III
- Valid Sudoku
- Valid Tic-Tac-Toe State
- Valid Word Square
- Walls and Gates
- Where Will the Ball Fall
- Word Search II
- Word Search
- Zigzag Grid Traversal With Skip