Google interview question

Design a library from scratch.