3 Comments
User's avatar
Michael Vilain's avatar

I subscribed to this newsletter and ended up automatically subscribed to three others. THAT'S NOT OK. If Substack did this automatically, I'm leaving. If your newsletter triggered it, I'm complaining.

anish singla's avatar

in the example for value = 8 shouldn't the length be 5?

thank you for this, it was really interesting and well written. Especially for me , because i could read it one go.

Sourav Tripathy's avatar

yes, it will be of 5 bits i.e 10110 which is 22 by calculation as per the algorithm.