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.
I hope this makes sense to me someday
This comment is hidden because it contains spoiler information about the solution
Not sure if this has been requested before, but I'd love to see the Elm language supported! http://elm-lang.org/
Would love to see Elm supported!
http://elm-lang.org/
Can you clarify what is meant by
"Subarrays must be distinct"
in the hidden tests? I'm passing 14 tests but failing 4, and this message is showing up 3 times.Perhaps relatedly, does this have anything to do with why I'm failing
Test.expect(d2[0].toString()!=d2[1].toString())
in the visible tests?I can't for the life of me figure out why running
d2[0][0][0]="A";
should turn my d2 into[ [ [ 'A', 0, 0 ], [ 'A', 0, 0 ] ], [ [ 'A', 0, 0 ], [ 'A', 0, 0 ] ], [ [ 'A', 0, 0 ], [ 'A', 0, 0 ] ] ]
, but that's what's happening.This assumes you're implementing a sort function for methods based on "discriminators", and tells you what to do if the discriminators are the same.
(I think)
Should it be considered cheating to "Unlock Solutions" for, say, Python, and then translate that to another language (say, Javascript)? Are the differences between languages significant enough for this to count as a challenge?
The instructions are not idiomatic English, and aren't really that clear.
"We need to write some code to return the original price of type decimal, having discounted price and sale value handy of type decimal as well, original price must be rounded to two decimal places."
How about:
You always buy things on sale. You are usually pretty good with your accounting, but this month you forgot to write down the original prices of some of your purchases. Given a discounted price and a discount percentage, write some code to return the original price (to two decimal places).
This comment is hidden because it contains spoiler information about the solution
Probably because the test cases for submission are different.
Some possible tests, if anyone is lost (as I was):
This comment is hidden because it contains spoiler information about the solution