Please do consider rewording this note in the description:
"Mad Max has attempted to confuse you by adding extra numbers into elements of the array that are divisible by 2 exactly."
I understood this to mean numbers/elements in the array that were even, when it intended to mean even indexed elements (not the elements themselves). Maybe reword to:
"Mad Max has attempted to confuse you by adding extra numbers into elements of the array, those whose index are divisible by 2 exactly."
Actually, I've deleted my code in order to attempt to submit an empty function just to see if it will accept anything, but the error is there no matter what is submitted...
Hey Johan, I'm sorry you found this kata confusing but thanks for seeing it through and giving me some feedback. I'll pull this Kata later on tonight as I need to spend a little time removing the unnecessary over-complications. Thanks again.
Thanks for flagging st3f4n, sorry for the late response – if you get a chance would you mind forwarding me your attempt code to help me identify what could be causing the issue. Thanks
You might want to avoid comparing Strings with ==, as it can fail under some situations.
Try using string1.equals(string2) instead which is very reliable.
Can the description be less informative about what
timesTable
mean in the kata?JS Node 12 should be enabled
It's not
elements of the array
that are divisible by 2, it's theindex
of the elements.Also it's 0-indexed.
Fun kata, thanks!
Please do consider rewording this note in the description:
"Mad Max has attempted to confuse you by adding extra numbers into elements of the array that are divisible by 2 exactly."
I understood this to mean numbers/elements in the array that were even, when it intended to mean even indexed elements (not the elements themselves). Maybe reword to:
"Mad Max has attempted to confuse you by adding extra numbers into elements of the array, those whose index are divisible by 2 exactly."
Neesd random tests.
Apparently fixed.
May have been a platform error.
Actually, I've deleted my code in order to attempt to submit an empty function just to see if it will accept anything, but the error is there no matter what is submitted...
Hey Johan, I'm sorry you found this kata confusing but thanks for seeing it through and giving me some feedback. I'll pull this Kata later on tonight as I need to spend a little time removing the unnecessary over-complications. Thanks again.
Hey Johan, thanks for flagging this issue. I'll try and see what could be causing the error over the weekend.
Thanks for flagging st3f4n, sorry for the late response – if you get a chance would you mind forwarding me your attempt code to help me identify what could be causing the issue. Thanks
on Submit.
This comment is hidden because it contains spoiler information about the solution
Uhm I can't submit anything, keep getting 500: Internal Server Error
Cheers dude , I'll be using that method from now on.
You might want to avoid comparing Strings with ==, as it can fail under some situations.
Try using string1.equals(string2) instead which is very reliable.
Loading more items...