Skip to content

Lib has BUG when inserted with a special sequeces #4

Description

@smithAchang

I insert the tree with a sequeces of [13,13], [24,24],[37,37],[90,90],[53,53],

But after [37,37] inserted, I cannot find [37,37] in the tree by find API!

I have made a research and found this lib lacks the necessary update for the max field of these rotated nodes because unbalancing

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