Amazon interview question

Design a shelf storage system