Samsung Electronics Interview Question

Build a stack component using a simple memory component