Timeline for Gray code on N symbols
Current License: CC BY-SA 4.0
35 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 10, 2022 at 16:51 | answer | added | Kjetil S | timeline score: 1 | |
Mar 10, 2022 at 16:39 | comment | added | Neil | @KevinCruijssen As it happens, I've golfed down my leading-zeros-included answer to the same length as my leading-zeros-omitted answer, so it no longer matters. | |
Mar 10, 2022 at 13:22 | answer | added | Noodle9 | timeline score: 1 | |
Mar 10, 2022 at 12:01 | answer | added | ovs | timeline score: 1 | |
Mar 10, 2022 at 11:42 | comment | added | Noodle9 | Suggest: This is only one of the valid 3-bit Gray codes. Otherwise reads a bit like it's the only valid one. | |
Mar 9, 2022 at 15:00 | history | tweeted | twitter.com/StackCodeGolf/status/1501573521939574791 | ||
Mar 9, 2022 at 14:47 | history | became hot network question | |||
Mar 9, 2022 at 13:12 | answer | added | Jonathan Allan | timeline score: 6 | |
Mar 9, 2022 at 12:01 | comment | added | pxeger | @kjs yep, sorry. Fixed | |
Mar 9, 2022 at 12:01 | history | edited | pxeger | CC BY-SA 4.0 |
edited body
|
Mar 9, 2022 at 11:59 | comment | added | Kjetil S |
@pxeger - last test case 10 2 should be 11 2 ?
|
|
Mar 9, 2022 at 10:40 | history | edited | pxeger | CC BY-SA 4.0 |
added 107 characters in body
|
Mar 9, 2022 at 10:37 | comment | added | pxeger |
@KevinCruijssen You also don't have to start at 000 (or xxx or whatever symbols you're using) , you can start at 012 as long as each neighbouring pair has only one changed symbol. I've hopefully clarified this
|
|
Mar 9, 2022 at 10:33 | comment | added | pxeger | @KevinCruijssen To clarify exactly: as I already said in the question, the symbols don't have to be integers \$ [0, N) \$. | |
Mar 9, 2022 at 10:31 | comment | added | pxeger | @Arnauld not sure how I missed that, thanks! | |
Mar 9, 2022 at 10:31 | history | edited | pxeger | CC BY-SA 4.0 |
added 8 characters in body
|
Mar 9, 2022 at 10:27 | answer | added | Neil | timeline score: 2 | |
Mar 9, 2022 at 10:02 | comment | added | Kevin Cruijssen | @Neil Ah, you're indeed correct! I see I've misread his comment. | |
Mar 9, 2022 at 9:56 | comment | added | Neil |
@KevinCruijssen Actually I understood his question has having an entirely different meaning, i.e. is it allowed to start the code on any k digits, not just all 0 s.
|
|
Mar 9, 2022 at 9:55 | answer | added | Arnauld | timeline score: 4 | |
Mar 9, 2022 at 9:48 | comment | added | Kevin Cruijssen | @Neil That was already asked by alephalpha in the comments above (and the answer is no, it's optional). | |
Mar 9, 2022 at 9:41 | comment | added | Kevin Cruijssen |
May we use 1-based symbols? So for \$N=3\$ we use 1,2,3 instead of 0,1,2 ?
|
|
Mar 9, 2022 at 8:51 | comment | added | Neil |
Are leading 0 s required?
|
|
Mar 9, 2022 at 8:50 | answer | added | Kevin Cruijssen | timeline score: 5 | |
Mar 9, 2022 at 7:56 | history | edited | pxeger | CC BY-SA 4.0 |
added 88 characters in body
|
Mar 9, 2022 at 7:38 | answer | added | ovs | timeline score: 10 | |
Mar 9, 2022 at 7:30 | comment | added | pxeger |
@alephalpha Not necessarily; the symbol 0 has no special meaning
|
|
Mar 9, 2022 at 7:29 | comment | added | pxeger | @emanresuA Yes, as long as you don't output duplicates | |
Mar 9, 2022 at 7:29 | answer | added | emanresu A | timeline score: 6 | |
Mar 9, 2022 at 7:10 | answer | added | alephalpha | timeline score: 5 | |
Mar 9, 2022 at 7:04 | comment | added | emanresu A | Can we output all possibilities? | |
Mar 9, 2022 at 6:58 | comment | added | alephalpha |
Is the output required to start with 0...0 ?
|
|
Mar 9, 2022 at 6:47 | comment | added | Bubbler | Very closely related | |
Mar 9, 2022 at 6:44 | comment | added | pxeger | Sandbox | |
Mar 9, 2022 at 6:42 | history | asked | pxeger | CC BY-SA 4.0 |