Skip to main content

Practice ยท 2 of 3

Clean Resolver

CHALLENGE
Difficulty: intermediate+25 XP

Write resolveConflictFile(text, chosen) where chosen is "mine" or "theirs": return the file with the conflict block replaced by the chosen side's lines โ€” markers removed, surrounding context preserved exactly.

Back to lesson: Practice: Conflict Resolution โ€” Practice