Skip to main content
added 94 characters in body
Source Link
FrownyFrog
  • 3.8k
  • 1
  • 15
  • 20

J, 9 bytes

(,|.&.>)/ 

Reduce from right to left, reversing all strings in the result and prepending the next string as is.

Try it online!Try it online!

We can do 6 using ngn’s approach, but there will be extra spaces:

]&|./\ 

Try it online!Try it online!

J, 9 bytes

(,|.&.>)/ 

Reduce from right to left, reversing all strings in the result and prepending the next string as is.

Try it online!

We can do 6 using ngn’s approach, but there will be extra spaces:

]&|./\ 

Try it online!

J, 9 bytes

(,|.&.>)/ 

Reduce from right to left, reversing all strings in the result and prepending the next string as is.

Try it online!

We can do 6 using ngn’s approach, but there will be extra spaces:

]&|./\ 

Try it online!

added 304 characters in body
Source Link
FrownyFrog
  • 3.8k
  • 1
  • 15
  • 20

J, 9 bytes

(,|.&.>)/ 

Reduce from right to left, reversing all strings in the result and prepending the next string as is.

Try it online!

We can do 6 using ngn’s approach, but there will be extra spaces:

]&|./\ 

Try it online!

J, 9 bytes

(,|.&.>)/ 

Reduce from right to left, reversing all strings in the result and prepending the next string as is.

Try it online!

J, 9 bytes

(,|.&.>)/ 

Reduce from right to left, reversing all strings in the result and prepending the next string as is.

Try it online!

We can do 6 using ngn’s approach, but there will be extra spaces:

]&|./\ 

Try it online!

deleted 29 characters in body
Source Link
FrownyFrog
  • 3.8k
  • 1
  • 15
  • 20

J, 9 bytes

(,|.&.>)/ 

Try it online! Reduce from right to left, reversing all strings in the result and prepending the next string as is.

Try it online!

J, 9 bytes

(,|.&.>)/ 

Try it online!

J, 9 bytes

(,|.&.>)/ 

Reduce from right to left, reversing all strings in the result and prepending the next string as is.

Try it online!

Source Link
FrownyFrog
  • 3.8k
  • 1
  • 15
  • 20
Loading