J.P. Morgan interview question

Build a custom queue & stack system with Python