Skip to content

Fet : Enhancement of DisjointSets : Comments, Testcases, Naming convention  #4365

@Manan-09

Description

@Manan-09

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.

Screenshot 2023-09-10 at 4 31 45 PM

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions