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.
Fixed order of
expected
andactual
and removed the test case fornull
.Same question over here. I think it would fail if the array parameter is null, but not for empty.
Does this Linq method check for null and empty?
This comment is hidden because it contains spoiler information about the solution
Hi! I have a question: Why does my function only work in the Codewars text editor if I write "string.Join" - string with a lowercase letter? However, in my Visual Studio, the function works when writing string with both uppercase and lowercase letters.
This comment is hidden because it contains spoiler information about the solution
wow thats rly best and simple solution!
Perfect response, thank you!
In .NET 7 using Linq Sum is the best option. Great performance improvements were made.
So I checked your code and my code and here's what I got
It happens a lot lol
You have no idea what i had to pass through and you did it with one method xD
Not sure what do you mean by that.
I think within the confines of the question (notably - indices start at 1), that's not necessarily a problem.
No
This comment is hidden because it contains spoiler information about the solution
Loading more items...