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
When you post a comment with code please use the spoiler flag. All comments without the spoiler flag are visible in the Dashboard.
This solution has
O(String.length s)
space complexity becauseString.lowercase_ascii
creates a new string.Thanks for the pointer (no pun intended)! In hindsight that's a clear optimisation.
~-
is the integer negation operator.@
concatenates two lists. Here is the official reference.This comment is hidden because it contains spoiler information about the solution
no no no. react key you should use when you map some array/list. separate component dont know nothing about react key.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks for your help.