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.
Yesn't,
Char
is an instance ofOrd
where the characters are ordered by their unicode codepoint. It does not really "threat them as they were numbers" but deep down at some point everything is an int eventually.wait, Haskell treats chars the same way as if they were numbers? like, he automatically converts char to number like ord() in python?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Rust: The error message for the
test_large
test case isn't helpful as it doesn't give any indication as to what's being tested or what failed to pass: "assertion failed: result == expected1 || result == expected2
".Could this message be made clearer/the test input be posted in the comments?
Actually, sorting identical items should be fast, so I think it's not sorting that's supposed to be banned, but quadratic solutions.
The performance requirements are not matched in this translation, the arrays are very small.
I didn't notice that there was a Haskell translation removed before:
https://www.codewars.com/kata/find-the-unique-number-1/discuss#59469c2caa3b7379540000a4
Can you add them in a fork?
My bad, I didn't get an email notification from this comment.
Haskell example should be added to the description.
Approved
Use
console.log()
in javascript.By
print
ing them out?This comment is hidden because it contains spoiler information about the solution
@dukeofgarda Nice Kata
duke
.. C++ Translation .. Please Revise and Approve .. thanks in advance ... RegardsZizou
Loading more items...