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.
Solved. Thank you!
I getting an Internal Server Error when when I try to look at the solutions to this kata.
I have solved the kata, Iโm just wondering why the error is with this particular kata (thereโs nothing wrong with the others).
Link that causes an error: https://www.codewars.com/kata/5264d2b162488dc400000001/solutions/javascript
Resolved since this question is explained above and OP solved this kata
Nice!
๐๐
๐พ
๐คฏ
๐
oh i see. thank you!
i'm still just starting to learn vanilla JS and don't understand Node :)
It requires a higher Node's version.
idk why .flat() doesn't work here.
it works fine on IDE, btw.
I have a similar solution.
If the time zone is different from UTC +0 then it is better to use getUTCHours/Minutes/Seconds
Thank you! I just recently learned about recursion and wanted to better remember and understand this material.
And random tests give me an error in about 1 run out of 3.
I think the main issue is your recusion. As far as I can see the call stack size is exceeded after more than 6000 calls to
factors
for the inputprimeFactors(933555431)
.Why not just rewrite the function as a loop?
I've not encounteted failed random tests with your solution.
This comment is hidden because it contains spoiler information about the solution
Loading more items...