Riskified Interview Question

How to design a tiny URL