Peregrine interview question

How would you build Google Docs?