Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Basically just decimal to unary then count the 1s. The difference between the two is whether it removes the other characters or just doesn't count them. I feel particularly like the first one is golfable?
Basically just decimal to unary then count the 1s. The difference between the two is whether it removes the other characters or just doesn't count them. I feel particularly like the first one is golfable?
Basically just decimal to unary then count the 1s. The difference between the two is whether it removes the other characters or just doesn't count them. I feel particularly like the first one is golfable?