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.
cmp
has been deprecated for a very long time - very bad practice to use it.yeah, try doing it in nasm and check how easy it is
Fixed.
except that this is a list of cables, not a set, so can use dulicates only if they all are in the list.
For identical strings in
compare_weight
, you can check equality up front and save yourself the summing / iterating. I like this solution best otherwise!Not an issue
Thanks!
I can't see your solution so I guess you haven't finished the kata (or was it not in JS)? So once done you should be able to view the test cases. I double checked and JS, ruby and python include one section for "The funny guy"
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 went the route of not using include? But I'd assume that is the best practice for this purpose.
I got no cases of less or more cards then expected (not duplicated), what was mentioned in the description.
Nice kata :)
Too easy
You should add in the descriptions that it needs to be rounded at 2 decimals.