Timeline for Decode the string
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 23, 2018 at 9:50 | history | edited | lfvt | CC BY-SA 3.0 |
-3 bytes thanks to Kirill L.
|
Apr 23, 2018 at 9:26 | comment | added | Kirill L. |
Welcome to PPCG! I didn't see that there was already an answer in Ruby before i posted mine, but some typical golfing tricks apply to your approach too - e.g., the last .join can be replaced by *'' , and s[0..1] by s[0,2] .
|
|
Apr 23, 2018 at 9:02 | review | First posts | |||
Apr 23, 2018 at 9:27 | |||||
Apr 23, 2018 at 9:00 | history | answered | lfvt | CC BY-SA 3.0 |