Re:Making all your integers positive with zigzag encoding
by zaptheimpaler on Saturday November 26, 2022 @03:18AM
(#33750908)
it's cool just the name is enough to tell you what the encoding is. he didn't mention it in the post but it can be visualized as starting from 0, then zigzagging right and left to 1, -1, 2, -2 ... and labelling each point with consecutive natural numbers.
[ Parent
| on HN ]
There are no comments on this comment yet.