Re:Number systems of the world, sorted by complexity of coun...
by kjaer on Thursday March 22, 2018 @06:49PM
(#16653454)
I wrote it in Scala below; it's a bit shorter, and I really like the map(base). Getting the digits from a number turns out to be most of the work, and the int->string->int conversion also seems to be the best approach.
[ Parent
| on HN ]
There are no comments on this comment yet.