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.
ok thanks. That makes it clear.
But i still dont get why i contains the number of repeats.
wtf
can someome explain this Solution to me? How does this even work...
how does it know how often the char needs to be repeated ? I see no iteration.
yes, Thanks for help.
worked now, was totally my fault.
hey, thanks thats true.
I misunderstood the Task.
Since all Sample Tasks gave me the right results on VSCode i thought it has to be correct :P
This comment is hidden because it contains spoiler information about the solution
I am sure that most people solve easy Tasks like this with Linq because it is a good practice.
This comment is hidden because it contains spoiler information about the solution
to hard to understand for best practice, or am i just not smart enough ? :)
i did it with a Dictionary.
Thanks alot mate!
I feel emberased as a C# dev not knowing this xD.
Knowing this will make me use Linq even more from now :)
how is this working with index? u type as parameter index into the Linq Where querry and C# accepts it as the index??
its always not null since you filter prices > 50 anyway.
No need to do a seperate check.
why do you need a price is not null check when you have to check price > 50 in the answer??
Ofcourse its always not null than.
but its beutiful
to anyone with the same isse, i fixed it.
this line:
number[i] = Convert.ToInt32(Math.Pow(number[i],numberLength));
made the problems. i had to Convert to Int64 instead of 32.
Maybe the Kata shouldnt say we only get (valid) int values and dont have to check lol.
Loading more items...