Challenge: Bottom Insert
Let’s try to insert an element at the bottom of a stack
Problem
Given a stack, write a function to insert an element at the bottom of the stack.
Input
A stack of integers and another integer to be inserted ...
Let’s try to insert an element at the bottom of a stack
Given a stack, write a function to insert an element at the bottom of the stack.
A stack of integers and another integer to be inserted ...