Timeline for Remove adjacent duplicates in golang
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 5, 2019 at 12:09 | comment | added | Liviu Costea | Actually your solution doesn't work when there are 3 adjacent occurrences, just try with [g e e e k]. For a fast fix on the line after append I added a j-- (not too elegant, there should be a better solution) | |
May 16, 2019 at 15:18 | history | edited | Elias Van Ootegem | CC BY-SA 4.0 |
added 327 characters in body
|
May 16, 2019 at 10:07 | history | answered | Elias Van Ootegem | CC BY-SA 4.0 |