RBT remove doens't work if node.Left && node.Right are both nil #118

Closed
opened 2019-07-30 03:58:04 +00:00 by ngtuna · 3 comments
ngtuna commented 2019-07-30 03:58:04 +00:00 (Migrated from github.com)
https://github.com/emirpasic/gods/blob/master/trees/redblacktree/redblacktree.go#L136
emirpasic commented 2019-07-30 07:56:24 +00:00 (Migrated from github.com)

@ngtuna true that according to the given lines of code, but when does this scenario occur. Do you have an example that leads to this state? thx4reporting

@ngtuna true that according to the given lines of code, but when does this scenario occur. Do you have an example that leads to this state? thx4reporting
ngtuna commented 2019-07-30 08:36:16 +00:00 (Migrated from github.com)

I got this issue on my application using this RBT package. I am trying to understand it. Will keep you posted on this.

I got this issue on my application using this RBT package. I am trying to understand it. Will keep you posted on this.
emirpasic commented 2019-11-07 22:57:11 +00:00 (Migrated from github.com)

@ngtuna any new input on this or something I can look into?

@ngtuna any new input on this or something I can look into?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
golibs/gms-gods#118
No description provided.