Skip to content
Onsite

Build a mini version control system like git

HardP3Build

Design and implement a mini version control system like git as an in-memory library in Node.js.

Time box: 90 to 120 minutes. Focus on content-addressed storage, commits, branches and a basic diff.

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