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.
This comment is hidden because it contains spoiler information about the solution
i love you
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
If there is no need to keep state between calls, the class is completely useless and should be removed.
Is it? The default code is still typed as Number[] but the hidden tests are sending it String[], causing them to fail unless you change the type to any[] or similar (object[] would probs work though I didn't try it). If that's intentional on an 8 kyu there should at least be some hint in the description.
I thought about this but thought there might be some longer years thrown in exactly because of this. Then again, "YYYY" does imply only four-digit years would be used...
Interesting solution!
What does the @@ do? I found it on the internet and I'm not 100% sure why it works.
ok nice, so simple! i thought too complicated :D
added
I really struggling with extracting data. I have no idea how to use the pixel class.
I have figured out that I can pass the first test using this method.
image.forEach(i =>{
j = i.length;
for(j = 0; j < i.length; j++){
i[j].g = 155;
}
})
The test are thorough. You implemented what was required. The description doesn't state that you have to explicitly order the result. Regards, suic
Passed the kata in Go but I didn't implement any ordering, only counting. The tests can't be very thorough.
Same test case in Go.
How the hell does this get all the "Best Practices" votes?
Loading more items...