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.
I was just being cheeky. ;D
And yes @Mitchees I did successfully build my binary conversion function!
Why is providing a functional solution cheating? If we want to write our own binary converters we can go do this test in C!
hahahahaha
did you successfully build your binary convertion function?
This comment is hidden because it contains spoiler information about the solution
I thought the same thing, so I thought they must have intended for you to write your own conversion to binary function from scratch.
This comment is hidden because it contains spoiler information about the solution
I tried to see how long it would take this code to check the first 16,000,000 integers for narcissism. My super basic junior developer tier code took 50 seconds to check 16 million integers for narcissism, this one-liner solution took 70 seconds, almost 50% longer than my dumb inexperienced code. I don't see how that qualifies as best practice either. Clever though, sure.