12 ms·
That's so cool. When I was a kid, I had a panel with a ton of switches. I've been thinking about the way to cycle through all of the possible switch combination
by m1el 11y ago
That's so cool. When I was a kid, I had a panel with a ton of switches. I've been thinking about the way to cycle through all of the possible switch combinations (I already knew combinatorics and binary), and I invented Gray codes in the process :)
I never thought it could be useful for anything but my amusement.
- brudgers 11y agoKnuth thinks they're pretty cool too and talks about them in TAoCP volume 4. The pre-fascicle of his discussion is available in gzipped PostScript. http://www-cs-faculty.stanford.edu/~uno/fasc2a.ps.gz http://www-cs-faculty.stanford.edu/~uno/fasc2a.ps.gz