Google interview question

How to build a system like paste.com?