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
Thanks, added random tests.
deepStrictEqual is redundant coming from JS to TS since strict type checking is included
So I have changed this to deepEqual
Thanks for feedback.
All typescript katas have been adapted to the feedback
I'll remember the proper protocol for future translations.
Thanks for your time in reviewing, I learned a lot :p
Thanks, I'll pick this up now (my React is showing) <.<
Thanks, now fixed.
I'll check the type safety of the tests too from now on :p
The tests weren't changed from the parent kata, but I can take a look at this for sure.
Ok all done,
Thanks for reviewing my translations.
Thanks for the feedback.
This one is done and I'll go do the same for the others now.
TypeError: Test.deepEqual is not a function
at Context. (test.js:34:6)
at process.processImmediate (node:internal/timers:471:21)
Expected: ''Input number is Number.NaN'', instead got: ''Input number is NaN''
for some reason
This kata kicked my ass for 3 days, but I am SO happy to have finished it without any solution lookups or anything.
I got the first part done no problem for N < 26 but it took a bit of figuring out to solve for higher N values.
really satisfying to finish!