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.
Approved. That made me nearly go nuts. Thank you.
You are using
list.Add([1, 2]);
syntax for creating along[]
. This is a Collection expression and this language feature was introduced with C# 12. Codewars currently only supports C# 10 so you need to use a different syntax to create the array.You can support this Github issue to maybe prioritize an update of the language version.
This comment is hidden because it contains spoiler information about the solution
Updated to JUnit 5 and approved.
Solution setup does not match the intended way to provide the solution.
It is written in the description:
Ah yes, the breast operator.
Judging from the diff you did the following:
export
from solution setupWhere exactly did you fix the sample test cases?
I will reject this fork as I see no improvements.
x
is not the index. The description gives a recursive formation rule to calculate new terms from existing terms. The only given term is1
. All resulting terms should be ordered ascendingly and the term at then
-th position in this ordered sequence isu(n)
.You cannot create a
2
with this rule so neitherx
nory
is ever2
.For me not knowing what color is about that remaining section about color in the description reads somewhat strange.
That's all there is to know.
This comment is hidden because it contains spoiler information about the solution
Approved.
This comment is hidden because it contains spoiler information about the solution
Fixed, replaced by a LaTeX formula.
Fixed, replaced by a LaTeX formula.
Loading more items...