walkccc / CLRS

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

Update 22.1.md #324

Closed umi001 closed 3 years ago

umi001 commented 4 years ago

In the existing solution, we are only adding the vertices which have path with 2 edges, but missed on the direct adjacent vertices of u. Adding them with this INSERT statement

walkccc commented 3 years ago

Thank you!