Skip to content

Build a Diff Tool

Build the algorithm behind git diff: edit distance, longest common subsequence, edit scripts, unified diff format with context hunks, patience diff for code-friendly output, and patch application. The foundation of every version control system and code review tool.

intermediateFree3 hours10 lessons
Start learningor sign up to track progress

Curriculum

Loading reference solution…
Build a Diff Tool