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.
the best way to solution this kata!
This comment is hidden because it contains spoiler information about the solution
the Swift version now has a preloaded dictionary, there is a comment on how to use it in the initial code. the dash in
Xray
has been removed.hahahhaha this is crazy simple solution
i have been searching and calculating for ages
Added accuracy to Swift tests.
Swift translation
Swift translation kumited
the kata supports Swift
5.3
as of nowHello! I'm super new to swift and programming at large. Can you please help me understand what you did here?
Approved some time ago
I don't even know how i missed it. Hahaha!
It throws a fatalerror, as negative numbers are not in the domain of
prefix
.what if n = -3?
damn. I wanted to write like this... But i thought it was too simple
Loading more items...