Skip to content

Modified methods - #2988

Merged
siriak merged 6 commits into
TheAlgorithms:masterfrom
funCodeSonali:master
Apr 3, 2022
Merged

siriak merged 6 commits into
TheAlgorithms:masterfrom
funCodeSonali:master

Conversation

@funCodeSonali

@funCodeSonali funCodeSonali commented Mar 23, 2022 •

Copy link
Copy Markdown
Contributor

SinglyLinkedList.java

https://github.com/TheAlgorithms/Java/blob/master/src/main/java/com/thealgorithms/datastructures/lists/SinglyLinkedList.java
/**

My Changes

  • Fixed bugs in swapNodes() , reverseList() methods
  • Modified deleteDuplicates() , detectLoop() methods to easier code
  • Shifted methods from Node Class to SinglyLinkedList Class

References

#2938 (comment)

siriak
siriak previously approved these changes Mar 30, 2022

@siriak siriak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good, could you fix the build?

@siriak siriak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@siriak
siriak merged commit 77bcd4d into TheAlgorithms:master Apr 3, 2022
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.

2 participants