What would you like to Propose?
It looks like we can do some enhancement in for DisjointSets data-structure code, as there is no comments, no unit testcases and proper naming convention is missing. I would like to contributing enhancing that code.
Issue details
Add Testacase : Currently none present.
Optimizing logic : We can make findSet iterative instead of recusrsive.
Comments : We can add comments to make it understandable to others.
Additional Information
No response