Skip to main content

Practice ยท 2 of 4

Merge base reasoning

CHALLENGE
Difficulty: beginner+25 XP

Implement static string? CommonAncestor(Dictionary<string, string> parent, string a, string b) โ€” the nearest commit both a and b descend from (null when no shared ancestor).

Back to lesson: Practice: Workflow workshop