Learn practical skills, build real-world projects, and advance your career
Updated 3 years ago
stack
Use the "Run" button to execute the code.
!pip install jovian --upgrade --quiet
import jovian
# Execute this to save new versions of the notebook
jovian.commit(project="stack")
push(data):
1. Check whether the stack is full. If full, display appropriate message
2. If not,
a. increment top by one
b. Add the element at top position in the elements array