Skip to content
Onsite

Build a document editor with undo/redo

MediumP2Build

Design and implement a text document editor with undo and redo as an in-memory library in Node.js.

Time box: 60 to 75 minutes. The core is the Command pattern.

Requirements

0 / 6

Stretch goals

0 / 3

Only after every requirement works.

Hints

Workspace

Your files are saved in this browser as you type.

When every requirement works, mark it complete to count it as solved.

Solution notes

How a strong candidate structures it, and what interviewers check.

Saved automatically