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
don't understand the point of this kata. why are you passing simple text as lambda functions? is this ever a useful technique? Doesn't need sorted, filter, map, reduce at all if the lambda is just text like 'hello world'
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 listed under the 'debugging' tag, which means the code is bad and needs to be fixed.
agree, with OOP this should be at 6kyu. Definitely not 5 though.
dumb kata, not sure what it's supposed to teach. The test responses are useless and unhelpful as well.
what a time to be alive!
Make a function that takes an input and returns a dictionary. The dictionary entry will return the input for the keyword 'value'
I think the instructions are written this way to teach what 'wrapper functions' are in general and what they might be used to do.
This comment is hidden because it contains spoiler information about the solution
Kata problem is fine but instructions are a hot mess.
Output: the geometric mean from an array of numbers
-consider negative numbers and strings in the array as invalid
-output 0 instead when there are too many invalids in the array. Tolerance of 1 if the array has fewer than 10 entries, and tolerance of 10% if the array has greater than 10 entries.
Thanks for the kata.
solved it but felt the instructions were poorly communicated. should define what "team" actually means in terms of the kata
agreed should be kyu 7 but not kyu 6
I got up to 177 before timing out, using max base of 1000 and max exponent of 40. Used python
I understand sorted with keys, but could you explain why this lambda works? thx
Loading more items...