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.
This comment is hidden because it contains spoiler information about the solution
If this was solved on your own and not via GPT Chat, you are a genius.
it is a container like vector i think (Data Structure)
Is string a vector?
This comment is hidden because it contains spoiler information about the solution
simple as that... nice one
This comment is hidden because it contains spoiler information about the solution
where is conversion of Boolean to a String?
Why fightResolve('A', 'a') must return 'a' in test cases? The description says: "If a matchup occurs that was not previously mentioned (for example Archers vs Pikemen) the attacker will always win." So attacker is first argument, 'A' in this case. Or did I miss something?
Of course, as you please. It's just a way of bounding logic together for good readability
() can be omitted
This comment is hidden because it contains spoiler information about the solution
Cool and fast solution!!
"This kata strictly takes two words with one space in between them."
this does not cover invalid inputs.
Loading more items...