← Cisco questions
CodingReported in a candidate post, Oct 2022

Largest square matrix embedded in stacks of bricks

Filed under Cisco

Given an array of integers representing the heights of consecutive vertical stacks of cubical bricks, find the side length of the largest square matrix that can fit entirely within the stacks (i.e…

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 Cisco questions

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