List the Two-by-Two Blocks Covering Each Black Cell

Quick Overview

List every in-bounds two-by-two block covering each black cell in a sparse grid, with explicit boundary behavior and canonical ordering.

List the Two-by-Two Blocks Covering Each Black Cell

Company: Square

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: easy

Interview Round: Technical Screen

Overview: List every in-bounds two-by-two block covering each black cell in a sparse grid, with explicit boundary behavior and canonical ordering.

Square logo
Square
Jun 15, 2026
easySoftware EngineerTechnical ScreenCoding & Algorithms
4
0
Loading...