โ† Tech Mahindra questions

Determine maximum height of pyramid with limited cuboid blocks

Filed under Tech Mahindra

The question

Given a limited number N of special cuboid blocks with varying widths, arrange them to build the tallest, most durable pyramid where each level has fewer blocks and a smaller total width than the level below it.

No write-up yet. Related questions below have one.

Related Tech Mahindra questions

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