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.
The kata is not flawed; thousands of people have solved it.
The idea is simply that the six functions listed are available to you to call upon.
Instead, your function returns strings of the function names, where nowhere in the description did it ask you to return anything.
Take note that the eror message says:
should call all 6 functions
followed by0 should equal 6
You can approach it in different ways, but the constraints are clear: determine the most probable language using maximum
n * 7
tries.I updated the sample tests in python to stop when the maximum number of tries is reached. Haskell and JS should be reviewed by the translators.
Cheers
From the description:
Your code includes a nested loop, thus asking for response
n * 7 * 5
times in total, which is greater than the allowedn * 7
.ps: next time please mark your comment as a
question
, as this is not a kataissue
(1000+ people solved the kata and no sign of such problem in the comments).This comment is hidden because it contains spoiler information about the solution
Not a kata suggestion
The difference is the
index
flag, check the description of the arguments: it adds a column with 1-based indices to every row with data (except for the header row itself)