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.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.