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.
It has
4
places but since you start counting at0
yourinitials[4]
is already out of bounds.Not a kata issue.
Ah I see. Thank you. I thought that, as the initials array was origninally setup(dont know the right terminology) to have four indexes, I had to make sure that both were addressed.
I'm not sure why exactly, but modifying
initials[4]
causes this. You shouldn't be modifying data out of bounds :PThis comment is hidden because it contains spoiler information about the solution
In what language?
Knowing your code would also help to find problems in your solution.
When I run it, based on the description my code produces the right answer but then the expected it some weird answer. E.g. Sam Harris should be S.H which is what my code produces but then it says the expected is "te" or the expected will be empty.
This comment is hidden because it contains spoiler information about the solution
Ahh, i see. This makes a lot of sense. Thank you for your reply :).
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution