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.2.md #399

Closed TT2131 closed 2 years ago

TT2131 commented 3 years ago

Correction to Ex21.2-1, UNION(x, y) : while (z.next != NIL) is incorrect, the L2.tail node wont update its .set . And some minor changes to support weighted union heuristic.

walkccc commented 2 years ago

Thank you!