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.
LOL.
YOUR CODE IS TOO SLOW. YOU'RE WELCOME.
I keep getting Excution Time out (12000ms), but when I test my code, it takes only 5000ms to excute.
I feel like my code is simple enough, could you please take a look ?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
did you forget to remove the initial comment, before the function? You should have some sort of feedback, normally.
I apologize about that. Thank you!
Hi @boyski33, can you please post an example? (don't forget to use a spoiler tag), thanks
Not sure what you want people to take a look at? the kata code is fine. if you want someone to check out your code, you may post it with proper markdown and remember to use a spoiler tag. Then someone may be able to help you.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
no problem, Ed. I don't know why you're passing one test but it doesn't lend any credibility to your approach; I hope you can re-work your algorithm to modify the input array "in-place"
Sorry. 'Big Boy' is the largest array test.
not an issue a question. Generic message below:
Seems you're "rather new" to cw, so here are some general guidelines about the comments:
Issue
: problem in the kata itself (description, wrong tests, wrong internal solution...)Suggestions
: well, I guess that part is clearQuestion
anything else that is related to you having a problem solving a kata -> that's you, currently.When you post issues:
When you post a question: well, most of the above apply too x)
When you post code, use proper github markdown, so that it's readable.
For your current problem, I bet you're creating a new array while you're supposed to mutate the one in the input.
Closing, since it's not an issue.
cheers
I'm afraid I may be misunderstanding some rule. In the console.log my array is actually showing up as reversed, but the tests are saying it's not? Any feedback, please?
Loading more items...