walkccc / CLRS

📚 Solutions to Introduction to Algorithms Third Edition
https://walkccc.me/CLRS
MIT License
4.65k stars 1.26k forks source link

Update 21-3.md #409

Closed NicolasRoelandt closed 2 years ago

NicolasRoelandt commented 3 years ago

Changing {u, v} to {v, u} because we will make that check during LCA(v) and we will be analysing the pair {v, u}. (we analyze the pair {u, v} earlier during LCA(u), but v is not black at this time so we won't print anything)

walkccc commented 2 years ago

Thank you!