This solution changes order of values in source too.
For else if statements you can use elif
already the case afaik...
done
This comment is hidden because it contains spoiler information about the solution
Interesting
Exercise test cases are now fixed.
same i fond the random test cases are totally fucked up, like missing the ] before the second parameter
either would work. I only suggested using bool since it keeps it simple.
I was just going to mention something about this.
I just added using System; to my code. I think if the kata is going to use Booleans using System; should be in the solution setup.
Too easy for 7 kyu. Make it more complex. :)
For C#, the function type Boolean requires using System; I suggest you just change it to bool.
is it just me, or is there something wrong with this test case??? (I did pass the sample test cases)
//Console.Write() array = 1 1 1 3 1 3 2 3 2 1 final array = 1 1 1 3 3 2 3 2
//Test case output ([1,1,1,1,1,2,2,3,3,3], 3)
there's a mistake in the test case. you forgot to put types().
Added alternate Description() output to instructions
Loading collection data...
This solution changes order of values in source too.
For else if statements you can use elif
already the case afaik...
done
This comment is hidden because it contains spoiler information about the solution
Interesting
Exercise test cases are now fixed.
same
i fond the random test cases are totally fucked up, like missing the ] before the second parameter
either would work. I only suggested using bool since it keeps it simple.
I was just going to mention something about this.
I just added using System; to my code. I think if the kata is going to use Booleans using System; should be in the solution setup.
Too easy for 7 kyu. Make it more complex. :)
For C#, the function type Boolean requires using System;
I suggest you just change it to bool.
is it just me, or is there something wrong with this test case???
(I did pass the sample test cases)
//Console.Write()
array = 1 1 1 3 1 3 2 3 2 1
final array = 1 1 1 3 3 2 3 2
//Test case output
([1,1,1,1,1,2,2,3,3,3], 3)
there's a mistake in the test case. you forgot to put types().
Added alternate Description() output to instructions
Loading more items...