Skip to content

Commit

Permalink
nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
johnprif committed Feb 2, 2023
1 parent 786b27a commit 06f4424
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Model/DataBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -254,16 +254,12 @@ public void customDeleteNodeForCircle()
neighbours.remove(leftCurr); //O(1)
neighbours.remove(currCustom); //O(1)
neighbours.remove(rightCurr); //O(1)





left.add(leftPrev); //O(1)
left.add(rightCurr); //O(1)

right.add(leftCurr); //O(1)
right.add(rightNext); //O(1)

right.add(rightNext); //O(1)

neighbours.put(leftCurr, left); //O(1)
neighbours.put(rightCurr, right); //O(1)
Expand Down

0 comments on commit 06f4424

Please sign in to comment.