CodingReported in a candidate post, Sep 2021
Print the alternating-direction number pyramid
Filed under Verizon
The question
Given n, print a pyramid where row i has i numbers joined by '*', alternating rows increasing and decreasing (1 / 3*2 / 4*5*6 / 10*9*8*7).
No write-up yet. Related questions below have one.
Related Verizon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.