Oracle interview question

I was asked to design a tiny URL.