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
how 1 code be in answer, if it was already called.
doTest(4, [1, 2, 3, 3, 4, 5, 1], [5, 1, 3, 4]);
p.s i've read more carefully several times, all done. ty
i couldn't understand whant i need to do.
i understood. haD to read topic description in my native language))
i can't understand(
i thinŠ» auther wanted us to notice pattern.
ok, you start with converting every member of an array into positive bollean until you find flicker. on flicker switch on negative.
next flicker switches value from negative bollean to positive and so on.
sorry but i don't understand what should be done
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
i like your soluttion, ofcourse it's just like mine, but it very readable and undestandable!
i think this more clever solution than top with spread operator.
with spread operator and reduce, we go through array twice.
as usually. it's difficult to make intresting task, so people trying to make more mysterious task, but as was mentioned in other Kata, trying to understand what people really want you to do, is part of the job) so from that perspective good kata) remember 7 red lines)
good explanation, good task.
difucult to understand for non English user) and i think formula should be provided. at least normal source.
Loading more items...