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.
JS is OK, your solution has a couple of errors. After fixing three (or so) incorrect thngs in your solution I was able to make it pass.
Yes
In other words you have to figure out whether the discrete maximum comes before or after the continous maximum and adjust the discrete result accordingly
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It's been 2 years, hasn't been enabled either.
Thanks for explanation! This solution is extremely clever!
I guess:
Each pro is related to one of those preferences array?
Basically, you have two arrays of pros and their categories and the kata asks you to return an array of arrays with
[[category name_1], [pro_1_name, ... , pro_n_name]]
all of that sortedYes, it was a painful Kata that left mixed impressions. Not so bad actually =)
Mh, it looks like it did not take a fix I did a while ago.
Resubmitted now.
Randomly.
@Giacomo take a look at it again, it is as jake-utk says, the reference solution expects wrong results.
The test for 9 still expects a return of 3 in JavaScript instead of 2. Based on these comments I assumed this had been fixed, but it doesn't appear so. Is this solvable in JavaScript at this point?
Konstantin
/ is 2 doors away.
/ should be 1 door away (or less) for there to be a crash.
\ on the other hand should be 2 doors away (or less) for there to be a crash
The instructions could have been a bit clearer on this point.
I guess you figured it out by now, but the answer is - that is only supported in node v12+, which wasn't available at the time (not enabled for this kata yet either).
Sorry for missing this question.
validate
doesn't get(username,password)
at all. It completely relies on the fixed order of tests.Loading more items...