Practice ยท 2 of 3
Clean Resolver
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.
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Conflict Resolution โ Practice