Skip to main content
added 51 characters in body
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162

05AB1E, 20 13 12 6 bytes

##05AB1E, 20Saved 2 bytes thanks to Adnan.
Saved 6 bytes thanks to 13 12 bytes##Magic Octopus Urn and some new language functionality.

A.p¦«vy¦«,Aη€ûû»

Try it online!

Explanation

A.p          # push all prefixes of alphabet
   ¦«       # concatenate each with it's reverse minus the first char
      v €û     # forpalendromize each string:prefix
     û  y¦«  # concatenate with it's reverse minuspalendromize the firstwhole charlist
         »  , # printjoin withon newlinenewlines

Try it online

Saved 2 bytes thanks to Adnan.

##05AB1E, 20 13 12 bytes##

A.p¦«vy¦«,

Explanation

A.p          # push all prefixes of alphabet
   ¦«       # concatenate each with it's reverse minus the first char
      v      # for each string:
       y¦«  # concatenate with it's reverse minus the first char
           , # print with newline

Try it online

Saved 2 bytes thanks to Adnan.

05AB1E, 20 13 12 6 bytes

Saved 2 bytes thanks to Adnan.
Saved 6 bytes thanks to Magic Octopus Urn and some new language functionality.

Aη€ûû»

Try it online!

Explanation

       # push prefixes of alphabet
  €û     # palendromize each prefix
    û    # palendromize the whole list
     »   # join on newlines
added 294 characters in body
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162

##05AB1E, 20 13 12 bytes##

A.p¦«vy¦«,

Explanation

A.p          # push all prefixes of alphabet
   ¦«       # concatenate each with it's reverse minus the first char
      v      # for each string:
       y¦«  # concatenate with it's reverse minus the first char
           , # print with newline

Try it online

Saved 2 bytes thanks to Adnan.

##05AB1E, 20 13 12 bytes##

A.p¦«vy¦«,

Try it online

Saved 2 bytes thanks to Adnan.

##05AB1E, 20 13 12 bytes##

A.p¦«vy¦«,

Explanation

A.p          # push all prefixes of alphabet
   ¦«       # concatenate each with it's reverse minus the first char
      v      # for each string:
       y¦«  # concatenate with it's reverse minus the first char
           , # print with newline

Try it online

Saved 2 bytes thanks to Adnan.

deleted 411 characters in body
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162

##05AB1E, 20 1313 12 bytes##

A.pvy¦«=}gF,

Explanation

A.pv     }     # for each prefix of the alphabet
    y         # bifurcate (push it and it's reverse)
      ¦«       # remove first char of the reversed string and concatenate
        =      # print while leaving on the stack
          g    # length of top item (the longest string)
           Fp¦«vy¦«,  # pop and print that many times (prints the lines of decreasing length)

Try it onlineTry it online

Saved 32 bytes thanks to Adnan.

##05AB1E, 20 13 bytes##

A.pvy¦«=}gF,

Explanation

A.pv     }     # for each prefix of the alphabet
    y         # bifurcate (push it and it's reverse)
      ¦«       # remove first char of the reversed string and concatenate
        =      # print while leaving on the stack
          g    # length of top item (the longest string)
           F,  # pop and print that many times (prints the lines of decreasing length)

Try it online

Saved 3 bytes thanks to Adnan.

##05AB1E, 20 13 12 bytes##

A.p¦«vy¦«,

Try it online

Saved 2 bytes thanks to Adnan.

added 401 characters in body
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162
Loading
deleted 2 characters in body
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162
Loading
added 8 characters in body
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162
Loading
Source Link
Emigna
  • 53k
  • 5
  • 43
  • 162
Loading