CodingReported in a candidate post, Oct 2024
Display the pyramid formed by adding adjacent numbers of an array
Filed under Caterpillar
The question
Given an array, display a pyramid where each row is formed by adding adjacent elements i and i+1 of the row above.
No write-up yet. Related questions below have one.
Related Caterpillar questions
Collected from public candidate posts and coding forums. Updated Nov 2026.