Write the functions initialize, push, top, pop, and liststack to maintain a global stack. These functions should behave:
> (initialize) nil
> (push ‘foo)
foo
> (push ‘bar)
bar
> (top)
> (list-stack)
(bar foo)
> (pop)
(foo)
()
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here