New
The Learning module is now live
See what's new
×
Question Bank
Learning
NEW
Pricing
Blog
Forum
HOT
JobRadar
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Affirm
Coding Question
AI Insights
Quick Summary
Identify connected regions of positive integers in a 2D grid.
Find the maximum value within each connected region.
Return the sum of these regional maximums.
What This Tests
Grid-based graph traversal
Recursive or iterative component exploration
State tracking and backtracking
In-place space optimization
Common Patterns
Graph Traversal
DFS/BFS
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected