Text Buffer with Undo/Redo, Autocomplete, and Real-Time Collaboration – OpenAI Coding Interview Question