Timeline for Give me the Gray Code list of bit width n
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 3, 2014 at 16:00 | comment | added | edc65 | Maybe this array...join is overkill for(i=0;i<(l=1<<n);i++)console.log((i^(i>>1)|l).toString(2).slice(1)); | |
| Jul 3, 2014 at 15:03 | history | edited | Дамян Станчев | CC BY-SA 3.0 | deleted 2 characters in body |
| Jul 3, 2014 at 14:57 | history | answered | Дамян Станчев | CC BY-SA 3.0 |