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.
well gooooooooood for you
easy to understand have a nice day
but do problems like this exist in the world of work? or just practicing logic
probably not...From experience lot of interview problems resemble leetcode or hackerrank style of problems although every site has an overlap of problems.
Nice kata!
This comment is hidden because it contains spoiler information about the solution
OP solved it, closing
this should be at 6kyu
Error in test with .map:
TypeError: Cannot read property 'map' of null
at sumOfIntegersInString
at exampleTests.forEach
at Array.forEach
at describe
at /runner/frameworks/javascript/cw-2.js:152:11
at Promise._execute
at Promise._resolveFromExecutor
at new Promise
at describe
at /home/codewarrior/index.js:15:5
at /home/codewarrior/index.js:31:5
at Object.handleError
same error using forEach, and even for cycle, I've writter 3 variants of test, but it's not passed with error (above)
Error in test with .map:
TypeError: Cannot read property 'map' of null
at sumOfIntegersInString
at exampleTests.forEach
at Array.forEach
at describe
at /runner/frameworks/javascript/cw-2.js:152:11
at Promise._execute
at Promise._resolveFromExecutor
at new Promise
at describe
at /home/codewarrior/index.js:15:5
at /home/codewarrior/index.js:31:5
at Object.handleError
same error using forEach, and even for cycle, I've writter 3 variants of test, but it's not passed with error (above)
I think I've met kata like this on 6kyu
:)
Will a kata like this be used during a job interview? I'm still a beginner and often spend my time playing Codewars
every time I find an execution time out means I have to solve it with a mathematical formula
Loading more items...