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.
Erm, no? The only reasonable approach is to use the features provided by the language. Unless, of course, you're specifically asked to do the conversion manually, but even in that case, this is an unclear, convoluted, and inefficient solution.
If you're in a viewer and the interviewer asks you to write a program that prints the result of an addition in binary, this is the code that they want to see you write, not the python one that uses a ready made function
For me, this solutin means that the coder realy understands the rationale of binay, although probably it isn't the best way to do binary.
It's just a different way of solving the problem. I believe that a good balance between being aware of the correct syntax and being able to re-derive basic functions is essential for any good coder.