Skip to content

SuccessorWithDelete.java doesn't stand logarithmic time requirement #1

@roussakov

Description

@roussakov

Hi,
I was looking for a solution for Successor with delete problem and came across this repo.
From a glance it looks like your solution is correct but the problem is that union operation in QuickFindUF is linear. Have you figured out the correct answer for this? I'm struggling to understand the motivation of deleting using Union Find data structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions