Oh alright, I'm new to this, didn't know the comments were displayed on solutions either way, thanks for pointing that out.
Please remember to use a spoiler tag when discussing code, thanks. I added the tag to your comment.
This comment is hidden because it contains spoiler information about the solution
You are calling explode function in this two times! not required...! create a reference for it and use it afterwards... : /
It's so excited! :)
LOL did the same thing :P dat python 3
I love how you took this functional programming problem and turned it into a Data problem. It really is more efficient than any other way when you think about it
Curious how this actually works. I tried it on Regexr but not getting a match.
Is it simply about counting the unique chars? The answer seems far from obvious.
Great solution btw!
I initially liked so much this approach, but this solution doesn't check for ships touching themselves only by corner.
25% chance of solving, love it.
This solution is hilarious, I love it.
Hey, it's called spread operator. For more information about it check this: