Microsoft interview question

Word editor implementation, insert delete backspace