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
|| c
part is so good.learn something new each day
I would imagine there are some situation in which bitwise would be optimal... couldn't one then simply comment the code for the next developer whom may have to manage the code?
I wouldn't recommend using bitwise operators in production code they are really hard to understand and debug. I had hard time debugging production code that utilized bitwise operators.
great
~~: I learned something new today.
the while conditions, and the way u use res is very good but...
wew... took me a while to figure out what ur doing with c... true = 1, false = 0... useing that is brilliant.
Brilliant
this solution is realy cool!
My is much longer.
ðŸ˜
that makes me feel weak
This is nuts... There really is very smart people out there. It's hard not getting my ego hurt after seeing solutions like this, I could not crack it on my own. Congratulations
Oh, it works :) I thought that transforming long string into array and operation on array will be too memory consuming and I did operation directly on string, but in almost the same way: while loop + removing last char from 'a' and 'b'. Although my solution is longer...
:( my solution always long :(______
This is like old school addition except you have to translate that into javascript. Life
i am weak
Loading more items...