Bobyard logoBobyard
CodingMembers

Undo and Redo History for a Text Document Editor

Members only

A frontend coding round about the undo and redo behavior of a document editor, starting from code you are asked to improve. It looks like a textbook exercise, but the interviewer cares about hidden performance costs and how editor state stays in sync with the UI. Expect questions about batching keystrokes and collaborative editing.

SWE
medium
stack
ring-buffer
oop
react
typescript
frontend
code-review
Frequency
Single report
Last asked
—
Stage
onsite-coding

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 3 common pitfalls
  • 6 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...