Practice ยท 1 of 4
Commit graph traversal
CHALLENGE
Difficulty: beginner+25 XP
Implement static List<string> History(Dictionary<string, string> parent, string head) โ given parent[commit] = parentCommit (root commits have parent null), return the history from head back to the root, newest first. Unknown head โ ArgumentException.
Press Submit to check your solution.
Back to lesson: Practice: Workflow workshop