Question d’entretien chez xAI

They asked me the Text Editor LeetCode question with Undo/Redo