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.
Input parameter should not use PascalCase as names. Especially when one of the parameters is named
Stream
and collides withSystem.IO.Stream
.This looks like an unfinished school project rather than an actual kata.
Please break down the tasks into individual chunks that are unit tested separatedly, rather than the whole class that has all the methods to be implemented coupled together.
Also, the kata author dodged the question in the discourse below, but maximum string length and possible character set needs to be given.
It is unclear what is expected from the kata. If it's brute-force it's a duplicate of certain existing katas; if it's about hacking C#, well, that's a completely different beast.
Also, this solution should be patched.
Trivial map/filter/reduce and simple bit manipulations are not novel kata ideas.
Duplicate of https://www.codewars.com/kata/sum-of-cubes
What is this kata trying to do?
This is not a kata.
Initial code contains redundant parameters
0 = from 0% to 20%, 1 = from 20% to 40%
Though it not possible to be exactly 20%, 40%, etc.
You need to make it clear like this in future descriptions.
What should 100% be?
average of the colors in RGB
Nope, your code only considers the R value
...=PixelMap[i][ii][0]/...
What if
PixelMap[i][ii][0] == 255
?