Pergunta de entrevista da empresa Mudflap

How would you build a url shortener at scale?