Post History
Jelly, 4 bytes ¹Ƥċ" Try it online! " For each element of the input, ċ how many times does it occur in ¹Ƥ " the corresponding prefix of the input?
Answer
#2: Post edited
- # [Jelly], 4 bytes
- ¹Ƥċ"
- [Try it online!][TIO-knmap3ec]
- [Jelly]: https://github.com/DennisMitchell/jelly
[TIO-knmap3ec]: https://tio.run/##y0rNyan8///QzmNLjnQr/T/c7q3yqGlN5P//0YY6hjpGYGgIhsY6xrE60cY65jqmOiY6lkBxYyA20zGLBQA "Jelly – Try It Online"
- # [Jelly], 4 bytes
- ¹Ƥċ"
- [Try it online!][TIO-knmap3ec]
- [Jelly]: https://github.com/DennisMitchell/jelly
- [TIO-knmap3ec]: https://tio.run/##y0rNyan8///QzmNLjnQr/T/c7q3yqGlN5P//0YY6hjpGYGgIhsY6xrE60cY65jqmOiY6lkBxYyA20zGLBQA "Jelly – Try It Online"
- ```
- " For each element of the input,
- ċ how many times does it occur in
- ¹Ƥ " the corresponding prefix of the input?
- ```