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.
Passes that test now. Cool. Thanks so much.
I can't see the tests. When I write the test according to the demands in the instructions, it's correct. There's no indication about how the input object should be modified. I'm left guessing what the issue could be.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You say, "Your mission is simple: write a function that takes an integer 'n'", but this is not correct. It does not take an integer 'n', it takes an integer n. (It's not a string.)
It would be swell if the edge cases were in the example with a little description of what we're trying to do. That would be most educational. I'm passing all the random tests, but obviously am not thinking of the edge cases.
I'm getting the same issue with your solution, which is strange. I need to sit with your solution for a minute and see wha might be going on there, but I fear it might be something wierd on codewar's end.
Do you mean you can't submit your final answer? Does it past all test cases when you click, "Submit Suite?" If not which tests does your solution fail? Feel free to post your code here and mark it spoiler content.
Okay. I just forgot to put in a second arg in the function when being tested. I'll fix that in a sec. Thanks so much. :-)
Hmmmm... Thanks for the feedback. I'm looking into it. I know I ran the test cases yesterday and they passed.
The confusing part to me was that I kept thinking that "people" and "crew" were two different things, especially because you use the Titanic as an example. The Titanic carried a ton of people that weren't a part of the crew. I recommend using a military boat name instead, such as the "U.S.S. Constitution." You want solvers/users thinking that "this.crew" means "people."
Yeah, after I copied and pasted my solution into Triangle Number Check, all tests passed. They're the same concept, so this should probably be deleted/replaced with a new kata? The only difference here is the hint, which I like.
This comment is hidden because it contains spoiler information about the solution
Okay. I solved this. I misunderstood. When it said "input" I thought it was referring to the second argument, but the first argument is what needs to be cleaned of symbols and numbers. My solution covers both the first and second arguments having symbols and numbers.
Theoretically, it’s impossible for my solution to not handle the special characters cases because I don’t even deal with strings that have any symbols (or numbers) in them when I determine what should be returned. ...right?
Loading more items...