XPO Interview Question

Write a Stack without using the build-in functions