-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added splaytree #32
added splaytree #32
Conversation
Hi Ashiqur, thanks for the PR! Unfortunately, I don't have time to review it in detail rn, but I should be able to early next week after memorial day holiday. I have some high level things you can address in the meantime:
[1] https://github.com/williamfiset/data-structures/blob/master/com/williamfiset/datastructures/utils/TreePrinter.java |
Added Randmized tests for SplayTree Moved SplayTree to BST package Updated build.gradle to support JUnit 5 🔨
Added Randomized Tests for SplayTree Made Changes to build.gradle to support JUnit 5 🔨
javatests/com/williamfiset/datastructures/binarysearchtree/SplayTreeTest.java
Outdated
Show resolved
Hide resolved
javatests/com/williamfiset/datastructures/binarysearchtree/SplayTreeTest.java
Outdated
Show resolved
Hide resolved
javatests/com/williamfiset/datastructures/binarysearchtree/SplayTreeTest.java
Show resolved
Hide resolved
javatests/com/williamfiset/datastructures/splaytree/SplayTreeTest.java
Outdated
Show resolved
Hide resolved
com/williamfiset/datastructures/binarysearchtree/SplayTree.java
Outdated
Show resolved
Hide resolved
com/williamfiset/datastructures/binarysearchtree/SplayTree.java
Outdated
Show resolved
Hide resolved
com/williamfiset/datastructures/binarysearchtree/SplayTree.java
Outdated
Show resolved
Hide resolved
Thanks for the initial changes! Once you address my comments I think this PR will be ready to merge. It's already in pretty good shape. |
javatests/com/williamfiset/datastructures/binarysearchtree/SplayTreeTest.java
Outdated
Show resolved
Hide resolved
javatests/com/williamfiset/datastructures/binarysearchtree/SplayTreeTest.java
Outdated
Show resolved
Hide resolved
|
||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes sg. Please sync and remove the diff would be great.
Thanks for the changes! Don't forget to sync to head and resolve the merge conflict, but otherwise looks pretty good. |
I think I've made the changes you requested. Take a look at the CI check fail,its probably because the link provided in the readme for splaytree doesnt exist yet.Since i provided the link as it would look like in your repo. What should i do? Should i change the link to my repo ? |
I checked the CI tests and only having the failing link is fine. Merged the PR into master, thanks! |
-Java Implementation Of SplayTree ( https://en.wikipedia.org/wiki/Splay_tree#Operations )