Tencent interview question

To build a simple class with some implementation like Twitter