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
Random tests don't work if you modify the input array (it's an issue).
difficult to understand for English users too haha
Rounding to the nearest integer and rounding to the biggest near integer are not the same thing. In a python problem, you need to round the biggest near integer.
That method requires Node v20: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/with#browser_compatibility
I use array.with() in my code, it works perfectly fine in vs code, but when I ran test here, below errors came up.
TypeError: result.with is not a function
at fifo (test.js:8:29)
at doTest (test.js:27:17)
at Context. (test.js:33:3)
at process.processImmediate (node:internal/timers:471:21)
definitely harder than most 7kyu
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(
then i just need to go harder.
C# translation
A useful challenge but perhaps should be a 7kyu IMO.
I really think this one should be marked up as a 7 kata. It's pretty tricky... until you see the solution of course.
Loading more items...