Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Raised as issue
For an unordered linked list, one can simply add the seen elements in an array/list and skip the nodes where data is already in the seen list.
With JUnit 5 is possible and easy.
Huge update to this kata!
Huge update to this kata!
This comment is hidden because it contains spoiler information about the solution
Your link is wrong and give a 404 error:
http://junit-team.github.io/junit/javadoc/4.10/org/hamcrest/CoreMatchers.html
Take the pebble from my hand grasshopper.
Why it is soo messed up respect to other languages?!?
Ya I think it came from the David Carradine TV show "Kung Fu" and "Kung Fu the Legend Returns".
The problem states that the list will always be sorted in increasing order. Removing duplicates from an unordered list would be a great future Linked List problem to create, however.
Thanks, laoris. Now it is fixed, I substitute the confussing 769 for 789. Thanks for your time.
I took it for a famous quote about learning your kung fu, but who knows if I was right.
Well, you can group tests into more test classes. To run it in embedded editor, you can wrap them into one suite, like:
This will return integers in the range [0, 1000], so it's not better.
Loading more items...