← Salesforce questions
CodingReported in a candidate post, Jul 2023

Unit Area of the largest region of 1s

Filed under Salesforce

Given a boolean 2D matrix, find the area of the largest connected region of 1s. Cells can be connected horizontally, vertically, or diagonally.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Salesforce questions

Collected from public candidate posts and coding forums. Updated Nov 2026.