Available question text
Given an n×n grid of 1s with some cells set to 0 (mines), find the largest order k of an axis-aligned plus sign made of 1s (a center with k−1 consecutive 1s up/down/left/right). The core challenge is to compute, for each cell, the consecutive 1-run lengths in all four directions (via four directional DP/scans) and take the maximum of the cell-wise minima, achievable in O(n^2) time.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Amazon
Leetcode 764. Largest Plus Sign
Reported Sep 28, 2025 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source