Timeline for Pad a jagged array to be square
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 17, 2021 at 0:08 | history | edited | Jonah | CC BY-SA 4.0 |
added 29 characters in body
|
Feb 16, 2021 at 16:40 | comment | added | pxeger | ah I see, I modified the footer's implementation of the first test case because I'm dumb | |
Feb 16, 2021 at 16:32 | comment | added | Jonah | Thank you. They all look correct now except the first test case, which is not supposed to have fill. | |
Feb 16, 2021 at 16:28 | comment | added | pxeger | I got carried away using zsh-isms, before realising you might not want to switch languages (especially given you specified "functional" bash), so I switched back but evidently didn't pay too much attention. Fixed version: Try it online! | |
Feb 16, 2021 at 16:25 | comment | added | Jonah | @pxeger Looking at this now, and while there are tricks I can adapt to save bytes, the TIO link you included has incorrect output for most test cases. Am I missing something? | |
Feb 16, 2021 at 8:20 | comment | added | Jonah | Thanks. Appreciate it as I only golf in bash occasionally. I'll update this tomorrow with your suggestions. | |
Feb 16, 2021 at 8:16 | comment | added | pxeger | I'd recommend you to check out the Tips for golfing in Bash; I've got this down to 143 without changing the approach (Try it online!), and you can save a fair few more by switching to zsh (if you're wiling to, of course) | |
Feb 16, 2021 at 1:49 | history | edited | Jonah | CC BY-SA 4.0 |
added 7 characters in body
|
Feb 15, 2021 at 22:04 | history | edited | Jonah | CC BY-SA 4.0 |
deleted 6 characters in body
|
Feb 15, 2021 at 21:54 | history | edited | Jonah | CC BY-SA 4.0 |
deleted 14 characters in body
|
Feb 15, 2021 at 21:26 | history | answered | Jonah | CC BY-SA 4.0 |