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.
What the f**k ???
I never realized I was so stupid like this.
That was pretty obvios, why the hell i didn't come up to that? Ughh(
I only know that I know nothing
This comment is hidden because it contains spoiler information about the solution
I feel Stupid
Amazing!
That's some black magic :-)
omg, how stupid I am.
This comment is hidden because it contains spoiler information about the solution
I don't get it. You iterate through the array only once. What if opposite direction pairs appear after you perform some other deletions?
Isn't an underscore a punctuation character?
see comment there and there
This comment is hidden because it contains spoiler information about the solution
it took you 2 HOURS!!?!?!?!?
it took me like 20 minutes
WORTH NOTING....
If you are learning Java for Android, this solution WILL NOT WORK.
Android (Google) chose to use a different Regex format all together.
This solution will run in JRE and Java online like this, but would not run in the Android Platform.
https://developer.android.com/reference/java/util/regex/Pattern.
Loading more items...