Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
5 fix tio link
source | link

J, 11 bytes

Anonymous tacit prefix function. Returns a space-padded character matrix.

[:(}:,|.)]\

Try it online!Try it online!

]\ the list of prefixes

[:() apply the following function to that list

|. the reverse list

, prepended with

}: the curtailed (without last item) list

J, 11 bytes

Anonymous tacit prefix function. Returns a space-padded character matrix.

[:(}:,|.)]\

Try it online!

]\ the list of prefixes

[:() apply the following function to that list

|. the reverse list

, prepended with

}: the curtailed (without last item) list

J, 11 bytes

Anonymous tacit prefix function. Returns a space-padded character matrix.

[:(}:,|.)]\

Try it online!

]\ the list of prefixes

[:() apply the following function to that list

|. the reverse list

, prepended with

}: the curtailed (without last item) list

4 added 16 characters in body
source | link

J, 11 bytes

Anonymous tacit prefix function. Returns list of stringsa space-padded character matrix.

[:(}:,|.)]\

Try it online!

]\ the list of prefixes

[:() apply the following function to that list

|. the reverse list

, prepended with

}: the curtailed (without last item) list

J, 11 bytes

Anonymous tacit prefix function. Returns list of strings.

[:(}:,|.)]\

Try it online!

]\ the list of prefixes

[:() apply the following function to that list

|. the reverse list

, prepended with

}: the curtailed (without last item) list

J, 11 bytes

Anonymous tacit prefix function. Returns a space-padded character matrix.

[:(}:,|.)]\

Try it online!

]\ the list of prefixes

[:() apply the following function to that list

|. the reverse list

, prepended with

}: the curtailed (without last item) list

3 added 1 character in body
source | link

J, 11 bytes

Anonymous tacit prefix function. Returns list of strings.

[:(}:,|.)<\]\

Try it online!Try it online!

<\]\ the list of prefixes

[:() apply the following function to that list

|. the reverse list

, prepended with

}: the curtailed (without last item) list

J, 11 bytes

Anonymous tacit prefix function. Returns list of strings.

[:(}:,|.)<\

Try it online!

<\ the list of prefixes

[:() apply the following function to that list

|. the reverse list

, prepended with

}: the curtailed (without last item) list

J, 11 bytes

Anonymous tacit prefix function. Returns list of strings.

[:(}:,|.)]\

Try it online!

]\ the list of prefixes

[:() apply the following function to that list

|. the reverse list

, prepended with

}: the curtailed (without last item) list

2 explanation
source | link
1
source | link