Skip to content

Fixed a bug in node removal#3

Open
complanboy2 wants to merge 1 commit intokennyki:masterfrom
complanboy2:patch-2
Open

Fixed a bug in node removal#3
complanboy2 wants to merge 1 commit intokennyki:masterfrom
complanboy2:patch-2

Conversation

@complanboy2
Copy link
Contributor

Fixed bug in remove method. There is a highly chance that only one of the existingNode.prev or exsistingNode.next become null or valid. Hence, seperating them out to set the respective pointer would always work with all cases.

Fixed bug in remove method. There is a highly chance that only one of the existingNode.prev or exsistingNode.next become null or valid. Hence, seperating them out to set the respective pointer would always work with all cases.
@complanboy2 complanboy2 changed the title Update linked-hash-map.js Fixed a bug in node removal Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant