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 is a good solution. The only thing I would change is not reassigning the sorted lists to s1, s2. Instead, assign them to new l1, l2 variables.
Approved.
Duplicate issue below
Clever use of the Set equals method.
256 looks correct to me.
Here is a TypeScript translation for review: https://www.codewars.com/kumite/61ae28da87f3400033383e2f?sel=61ae28da87f3400033383e2f
I made the first change (size in the ArrayList constructor). I'm not too worried about the second change, since this code isn't seen by the user. It's just to verify the tests are correct.
I am understanding your code :)
Very clean with the comments :)
This comment is hidden because it contains spoiler information about the solution
2 suggestions
The
should contain ORDER BY speciestest is a little overly zealous. Most databases (including PostgreSQL) support ordering by the column number. SoORDER BY 6would be valid (if column order can be guaranteed), as well asORDER BY species.This comment is hidden because it contains spoiler information about the solution
That is not the definition of Camel Case. If you want to restrict your definition to lower case letters first then you should clarify "lower camel case". However, "camel case" is by definition ambiguous.
https://en.wikipedia.org/wiki/Camel_case
By definition the first letter is lowercase in
camelCase.Loading more items...