Oracle Interview Question

I was asked to design a tiny URL.