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.
Is there an advantage to omitting scope braces that I'm not seeing? Just seems like leaving extra work for anyone that has to edit the code for the grand purpose of having fewer lines in the IDE
AImazing solution
As someone trying to learn rust, I appreciate the breakdown!
excellent
Party on my dude. Party on.
"I wish i was a little bit taller, i wish i was a baller."
Bro pulled out the BBC lol
Nice
This is incredibly efficient and smart. Good on you Amelia.
The use of 0xAAAAAAAA is clever because it effectively simulates the process of negabinary conversion through simple bitwise operations. The addition and subtraction of 0xAAAAAAAA, combined with the XOR operation, effectively handle the negabinary's alternating sign in the place value.
Efficient because it leverages the processor's native ability to perform bitwise operations quickly, rather than using loops or recursive calls. Lovely.
Very fun man, good stuff.