Post History
Japt -m, 8 7 bytes ð òÎmiV Try it ð òÎmiV :Implicit map of each sub-array at 0-based index V ð :Indices of truthy (i.e., non-zero) elements ò :Partition between eleme...
Answer
#3: Post edited
# [Japt](https://github.com/ETHproductions/japt), 8 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)Ëð òÎmiE[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=y/Ag8s5taUU&input=W1sxLDAsMV0sWzEsMCwxXSxbMCwxLDBdXQotUQ)Ëð òÎmiE :Implicit input of 2D-arrayË :Map each D at 0 based index Eð : Indices of truthy (i.e., non-zero) elementsò : Partition between elements whereÎ : The sign of their difference is truthym : MapiE : Prepend E
- # [Japt](https://github.com/ETHproductions/japt) [`-m`](https://codegolf.meta.stackexchange.com/a/14339/), <s>8</s> 7 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- ð òÎmiV
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LW0&code=8CDyzm1pVg&input=W1sxLDAsMV0sWzEsMCwxXSxbMCwxLDBdXQotUQ)
- ð òÎmiV :Implicit map of each sub-array at 0-based index V
- ð :Indices of truthy (i.e., non-zero) elements
- ò :Partition between elements where
- Î :The sign of their difference is truthy
- m :Map
- iV : Prepend V
#2: Post edited
- # [Japt](https://github.com/ETHproductions/japt), 8 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
Ëð ó miE[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=y/Ag8yBtaUU&input=W1sxLDAsMV0sWzEsMCwxXSxbMCwxLDBdXQotUQ)
- # [Japt](https://github.com/ETHproductions/japt), 8 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- Ëð òÎmiE
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=y/Ag8s5taUU&input=W1sxLDAsMV0sWzEsMCwxXSxbMCwxLDBdXQotUQ)
- Ëð òÎmiE :Implicit input of 2D-array
- Ë :Map each D at 0 based index E
- ð : Indices of truthy (i.e., non-zero) elements
- ò : Partition between elements where
- Î : The sign of their difference is truthy
- m : Map
- iE : Prepend E