American Express interview question

Write code to demonstrate a stack or queue implementation in a language of your choice

Interview Answer

Anonymous

17 Sept 2019

Print out a pyramid of numbers rising sequentially, e.g. (1) (1) (2) (1) (2) (3) ... Spacing DID matter.