Forward interview question

design a real time editor like google docs