Maximum Number of Points From Grid Queries (LeetCode 2503)
HardLeetCode 2503 · Matrix · Google, Amazon +3 · 47:49Maximum Number of Points From Grid Queries · DFS · BFS · Optimal · Leetcode 2503My notes
Sign in to keep private notes on every station, with video timestamps.
Pause here and write your approach in two lines. Compare it with MIK's when the video ends.
Sign in to write your approach →About this video
Video solution for LeetCode 2503 Maximum Number of Points From Grid Queries by codestorywithMIK: Arrays, Hard. Topics: Array, Two Pointers, Breadth-First Search, Union-Find. Watch the explanation, then check the code and solve it on LeetCode.
- Difficulty
- hard
- Topics
- Array, Two Pointers, Breadth-First Search, Union-Find, Sorting, Heap (Priority Queue), Matrix
- Patterns
- Matrix
- Chapter
- Arrays
- Duration
- 47:49
Related problems
- Rotate Image (LeetCode 48)
- Spiral Matrix (LeetCode 54)
- Sort the Matrix Diagonally (LeetCode 1329)
- Diagonal Traverse (LeetCode 498)
- Image Overlap (LeetCode 835)
- Shortest Path in a Grid with Obstacles Elimination -(Google) : Explanation ➕ Live Coding (LeetCode 1293)
- Toeplitz Matrix -(Google, Meta, Apple) : Explanation ➕ Live Coding (LeetCode 766)
- Where Will the Ball Fall -(Amazon) : Explanation ➕ Live Coding (LeetCode 1706)