Paystone interview question

Design tiny url from ground up