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.
Thanks for your reply but this does not explain why Order use raises this error and most topic (mostly stackoverflow) are addressing different issues.
Order and OrderBy as both part of Linq assembly normally. So why OrderBy will be defined and Order not, unless Order has been depracted in the language version of the kata.
C# experts is it that normal i have this message with System.Linq, System.Collections and System.Collections.Generic directives included in my solution ?
error CS1061: 'IEnumerable' does not contain a definition for 'Order' and no accessible extension method 'Order' accepting a first argument of type 'IEnumerable' could be found (are you missing a using dire
What happens to sort method on array for JS with this kata ?
Array.sort is not working and leave array unmodified. Kata does not specify blocking anything
Precision: New to c#
$$$$
I am having an error System.FormatException : Input string was not in a correct format.
This is on the unit test code line cdecode.Helper.Array2DToString(ClosestWeight.Closest(s))
The code itself run without any error and i have not change the output type so i am returning
int[][] and here the return return new int[][] { result[index], result[index+1]};
I guess the Helper method is from Nunit frawework but quick search unsuccessful. So what could cause the cdecode to throw error ?
Still BigInt capabilities are not disbled for some language. Kata translation should take this into account.
I have introduce a typo when trying to report the issue but yes it is definitvely C# code not in any other language. If you look on google many people having similar issue.
Any way same code copy / paste on codewars again and it is runs !!
Hey
New to c# and i have a code that run on my pc but when i move it here, i start having different errors which is really strange for me
Thing as could not convert int to string ex: 'long' does not contain a definition for 'toString' and no accessible extension method 'toString' accepting a first argument of type 'long' could be found (are you missing a using directiv and so on. Same for toCharArray,
Convert inacessible though system namespace being included
I don't have any complex setup on local
<>
>Exe
net7.0
enable
enable
That is all have so question is why i am having these kind on basic object reference error ?
Who vote best practises and clever ??
BigInt kind of api should be disabled for all language. Why only java ?
After some analysis, sequence rules allow me to find a solution. But feel like
there is a permutation/combination topic or approach that would like to get.
Any explanation or link to lean is welcome
Hello 4 years later if someone else is back on codewars here
Testing for :
n : value , result : expected
Any advice is welcome as no idea of solution to speed up a little bit my code.
When i see fails with testing for ... what that is mean ? These values those not tested because of perfomance or failure ?
This comment is hidden because it contains spoiler information about the solution
Stuck on this error ' should be able to subscribe and unsubscribe in handler code' and getting three fails
Could anyone explain me, I am sure missing something in instruction et the description above !!
Who solved this kata recently? I finally realised that illegal access is related to heap size. Ok my code might note be efficient but how can I run out memory for an input of size 5 ? I check the first input size and it is 5. If then so, i could even pass teh basic test case. Please something is wrong there.
This comment is hidden because it contains spoiler information about the solution
Loading more items...