Google interview question

How to build an app with queue like struct