Skip to main content

Timeline for Longest Zero Sum Sub-array

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
Jul 19, 2021 at 13:56 history edited hyperneutrino CC BY-SA 4.0
added 183 characters in body
Jul 19, 2021 at 9:49 comment added Jonathan Allan A Link that does the job in 7 bytes: ẆSÐḟṪȯ$
Jul 19, 2021 at 6:50 comment added hyperneutrino @tsh if 0 and [0] being the two formats is valid, then I can make the footer format it to avoid jelly's formatting things. it only costs 2 bytes and returning 0 for an empty list feels wrong to me anyway though
Jul 19, 2021 at 6:49 comment added tsh Could this be fixed by using function submission with format the output using different way outside the function? If this is a whole program, user cannot guess which output it is currently. And therefore it seems to be invalid to me.
Jul 19, 2021 at 6:45 history edited hyperneutrino CC BY-SA 4.0
deleted 13 characters in body
Jul 19, 2021 at 6:40 comment added hyperneutrino @tsh one of them is the number 0 and one of them is a singleton list 0 (Jelly displays both the same way) - is that acceptable? if not, I will add an edge case
Jul 19, 2021 at 6:33 comment added tsh Your output for [1,2,3] and [0,1,2,3] are both 0. Although it is arguable if represent an empty array with 0 is acceptable. I don't think that using 0 for both empty array and an array of single 0 should be allowed.
Jul 19, 2021 at 6:28 history edited hyperneutrino CC BY-SA 4.0
added 202 characters in body
Jul 19, 2021 at 6:27 comment added zoomlogo Well that was quick
Jul 19, 2021 at 6:26 history answered hyperneutrino CC BY-SA 4.0