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 I was a potential employer looking at the results, I would disqualify a job candidate that cheated like this.
Yes, I do find quite unfortunate as well that people are able to use built-in functions. I believe it defeats the purpose of a kata of this level.
I agree. Not because of fairness, but because studying other people's solutions is always a source of knowledge.
I enjoyed this challenge but it's a bit confusing to see that the best answers are using built-in functions. I believe this kata is a 3 kyu challenge only if you don't use these built-in functions.
This comment is hidden because it contains spoiler information about the solution
I only found one exemple of such a syntax in python: itemgetter(1,3,5)('ABCDEFG'), yet I don't get it...
Thanks for your answer, it drove me to look for the meaning of first-class values and I learned a lot. However, I don't feel closer to the solution... I believe that I can use a recursive function to obtain the right chained() function. However I'm still stuck to run it on the input. I'd appreciate another hint!
Don't modify the array of functions.
There are two ways:
I dont't understand how a function can be written like that in Python: chained([functions])(input) and I have no idea about how I can retrieve 'input' to pass it in the chain... If someone could give me a slight indication about where I should look for a solutionm I'd appreciate!
Thanks! I guess I didn't get what was the 'signature of the function'...
Hi,
I guess you violate one of requirements
Please note that js and coffeescript tests show a wrong message. Expected and Actual message should be swapped. It can be changed only by moderator.
Please note that js and coffeescript tests show a wrong message. Expected and Actual message should be swapped. It can be changed only by moderator.
Please note that js and coffeescript tests show a wrong message. Expected and Actual message should be swapped. It can be changed only by moderator.
Loading more items...