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.
2* (wd + wh + dh) for short
Worst family gathering conversation, it's the same result every year until one of them dies.
More of a math problem than a coding one. Google the formulae first.
This comment is hidden because it contains spoiler information about the solution
I think modifying a parameter (n) within a function is bad practice as others working on the same code may rely on the original value elsewhere.
Thank you so much hobovsky, I am able to solve the issue now after you pointed it out with the above example, now my test passed
Your oslution works incorrectly for some inputs. For example, for
ages = [5, 8, 72, 98, 41, 16, 55 ]
it should return[5, 98, 93]
but it returns[0, 98, 98]
.Your solution being incorrect is not a kata issue.
This comment is hidden because it contains spoiler information about the solution
Also depends on when birthdays fall in relation to the date of the gathering.
thanks, it passes now.
Fixed
approved
Rust translate
i'm having this error, is this problem with the kata?
'assertSimilar is deprecated, use assert.deepEqual'
btw i'm writing js.
another java translation: https://www.codewars.com/kumite/66430df34fafee513f94386a?sel=66430df34fafee513f94386a
Loading more items...