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
C# translation
The description should be reworded to describe under what condition, Elia owes Lyanna and vice-versa
No it isn't.
Insufficient edge coverage in JavaScript.
this is what i understand is going on:
Lyanna shared 50 (or put in 50) and then borrowed (or took out 500). so in total Lyanna borrowed (took out) 450. but the 'kitty' is shared 50/50, so half of what Lyanna took out is for her to use, and the other half (225) should be for Elia. So Lyanna owes Elia that 225. hopefully that makes sense...
This kata feels like: "please guess the operation to calculate the outcome" with no example provided on how things are being calculated.
Let's understand this one:
I don't get it, Lyanna borrowed 500 for personal expenses, thus Lyanna owes 500 to Elia. But she payed for a shared cost of 50. So it's 50/2 that's shared among the 2, so 25. 500-25=475...why does she owes Elia just 225?
Not really an issue, perhaps a suggestion.
I think this kata should be 6kyu ...
Fun kata - I think it could use some random tests though
C#-Translation kumited!
https://www.codewars.com/kumite/57c04a91def38b25dc000203
Please check and approve it! :-)
This comment is hidden because it contains spoiler information about the solution
Great kata! I think it needs some random tests though :)
The Javascript solution is also already provided
Loading more items...