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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I think for dart have to mention PI equals to 3.14159265359. I tried just 3.14 didn't work, then 3.14159 same didn't work.
my bad(
But description clearly says what to do when some value is out of 0-255 range.
.
There is no issue.
It has bugs, because of given sample
expect(rgb(255, 255, 255), equals('FFFFFF'));
expect(rgb(255, 255, 300), equals('FFFFFF'));
expect(rgb(0, 0, 0), equals('000000'));
expect(rgb(148, 0, 211), equals('9400D3'));
expect(rgb(148, -20, 211), equals('9400D3'));
expect(rgb(144, 195, 212), equals('90C3D4'));
expect(rgb(212, 53, 12), equals('D4350C')); using dart language
IMHO you better write like int max = array[0]*array[1];
Actual is what your function returned, and it's wrong, the test says which input was used:
"This sentence is a sentence"
, the expected value is ok, debug your code..
The tests are ok, your code is wrong. Not a kata issue.
This comment is hidden because it contains spoiler information about the solution
kata hint != kata suggestion ~~
This comment is hidden because it contains spoiler information about the solution