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.
it's scala
cool
lol that's a great 7kyu kata. like being basic yet revealing some of mine elementary math illiteracy
nowadays it feels more like a 7kyu, if not an 8
This comment is hidden because it contains spoiler information about the solution
it would be cool if there was a restricted version of this accepting only bitwise operations solutions
The
String Numeric
test is insufficient. Added aconsole.log
for an invalid solution that failed a moment ago, but the next run it passed suddenlyi've never seen
decltype
before. looks coollgtm
never knew
undefined
would evaluate like that with bitwise ops. meanwhileundefiend + 1
equalsNaN
cool
I frequently forget about the bitwise comparators | and &
all right, quite interesting, thank you !
Wrote an explanation above ๐
Oh, I should explain a bit. This version handles emojis and especially ZWJ sequences of emojis correctly.
For example, this family emoji ๐จโ๐จโ๐งโ๐ง is in fact there four emojis joined ๐จ๐จ๐ง๐ง. And each emoji is two bytes.
I don't really understand
Loading more items...