Nice! I split the name first, I didn't know you could immediately access the index as a string.
needs memoization. Look at mine ;) (hahahaha)
Tried to run it for n = 100, kinda ruined my browser session.
Retired.
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/109. Please join the discussion to help us identify duplicate kata and retire them.
kinda bad practice :/
Test.expect
assert.strictEqual
No random tests
Node 12. should be enabled
Test.expect should be replaced with assert.strictEqual
The description should clearly state what the function is supposed to do, even when it's obvious from the function name.
Sorry, I wrote this about 7 years ago and at the time, String.prototype.repeat wasn't standardized. I've updated the description to better match modern expectations. Hope it helps
String.prototype.repeat
terrible description, no one knows what they have to do
This comment is hidden because it contains spoiler information about the solution
fixed
Loading collection data...
Nice! I split the name first, I didn't know you could immediately access the index as a string.
needs memoization. Look at mine ;) (hahahaha)
Tried to run it for n = 100, kinda ruined my browser session.
Retired.
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/109.
Please join the discussion to help us identify duplicate kata and retire them.
kinda bad practice :/
Test.expect
withassert.strictEqual
No random tests
Node 12. should be enabled
Test.expect
should be replaced withassert.strictEqual
The description should clearly state what the function is supposed to do, even when it's obvious from the function name.
Sorry, I wrote this about 7 years ago and at the time,
String.prototype.repeat
wasn't standardized. I've updated the description to better match modern expectations. Hope it helpsterrible description, no one knows what they have to do
This comment is hidden because it contains spoiler information about the solution
fixed
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...