GE interview question

How will you design a URL shortener system?