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.
If someone want a link to the documentation about full text search and @@ operator: https://www.postgresql.org/docs/current/textsearch-intro.html#TEXTSEARCH-MATCHING
you can replace the
u64
at the start of the line byu32
and remove theas u32
at the endThis comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This solution is the reason why CodeWars is so awesome.
You try to solve the kata by yourself and after you can see there is a very simple and straightforward way to achieve the same problem. And bonus, the solution is way faster
Thank you
This comment is hidden because it contains spoiler information about the solution
Thank you very much for this kata. I learned a lot of things by trying to resolve it
group() without parameter corresponds to all the characters matching the regex pattern. Group(1) corresponds to the group 1 in the regex pattern.
With the string
abc-def
and the regex pattern.-(.)
group() returnsc-d
and group(1) returnsd
I love the way your code is organized. It is easy to read and understand
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Probably not the goal of this kata, but your solution is a good practice
Good idea
You can also replace this lambda
by a method reference
Loading more items...