Timeline for Changing the repeated number on a list
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 2, 2021 at 9:00 | history | tweeted | twitter.com/StackMma/status/1377908685083660290 | ||
Apr 2, 2021 at 1:55 | history | became hot network question | |||
Apr 1, 2021 at 21:17 | comment | added | MikeY | If you have {1, 1, 2} as a start shouldn't a possible outcome be {1, 3, 2}? Or should that 2 at the end of list automatically get turned into a 3? | |
Apr 1, 2021 at 20:37 | answer | added | MikeY | timeline score: 5 | |
Apr 1, 2021 at 20:35 | history | edited | kglr | CC BY-SA 4.0 |
added 78 characters in body
|
Apr 1, 2021 at 18:39 | comment | added | Ben Izd |
Before applying your function, you can reorder the list randomly, apply your function and reorder the result again. You can use order1=RandomSample@Range@Length@A to get a random order and A[[order1]] to reorder your input list and result[[Ordering@order1]] to reorder your result.
|
|
Apr 1, 2021 at 18:29 | answer | added | kglr | timeline score: 6 | |
Apr 1, 2021 at 17:50 | review | First posts | |||
Apr 1, 2021 at 18:39 | |||||
Apr 1, 2021 at 17:47 | history | asked | SBerry | CC BY-SA 4.0 |