Topic: Stack Problem / Level: beginner

Problem: Implement a function to push the first n triangular numbers into a stack.

Run the code to see the output here...