Skip to main content
Not non-competing
Source Link
emanresu A
  • 46.2k
  • 5
  • 112
  • 257

05AB1E, 27 bytes (non-competing)

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ 

Try it online!

Explanation

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ Argument l v } For each y in l, do: yð¡ Split y on space RD Reverse and duplicate ¤…TheQ Last element equals "The" (true = 1, false = 0) sgα Absolute difference with length of array £ Get elements from index 0 to calculated difference R Reverse ðý Join on space )‚øí Pair each element with original {ø¤ Sort and get the original band name 

05AB1E, 27 bytes (non-competing)

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ 

Try it online!

Explanation

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ Argument l v } For each y in l, do: yð¡ Split y on space RD Reverse and duplicate ¤…TheQ Last element equals "The" (true = 1, false = 0) sgα Absolute difference with length of array £ Get elements from index 0 to calculated difference R Reverse ðý Join on space )‚øí Pair each element with original {ø¤ Sort and get the original band name 

05AB1E, 27 bytes

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ 

Try it online!

Explanation

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ Argument l v } For each y in l, do: yð¡ Split y on space RD Reverse and duplicate ¤…TheQ Last element equals "The" (true = 1, false = 0) sgα Absolute difference with length of array £ Get elements from index 0 to calculated difference R Reverse ðý Join on space )‚øí Pair each element with original {ø¤ Sort and get the original band name 
added 16 characters in body
Source Link
kalsowerus
  • 2k
  • 11
  • 17

05AB1E, 27 bytes (non-competing)

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ 

Try it online!

Explanation

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ Argument l v } For each y in l, do: yð¡ Split y on space RD Reverse and duplicate ¤…TheQ Last element equals "The" (true = 1, false = 0) sgα Absolute difference with length of array £ Get elements from index 0 to calculated difference R Reverse ðý Join on space )‚øí Pair each element with original {ø¤ Sort and get the original band name 

05AB1E, 27 bytes

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ 

Try it online!

Explanation

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ Argument l v } For each y in l, do: yð¡ Split y on space RD Reverse and duplicate ¤…TheQ Last element equals "The" (true = 1, false = 0) sgα Absolute difference with length of array £ Get elements from index 0 to calculated difference R Reverse ðý Join on space )‚øí Pair each element with original {ø¤ Sort and get the original band name 

05AB1E, 27 bytes (non-competing)

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ 

Try it online!

Explanation

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ Argument l v } For each y in l, do: yð¡ Split y on space RD Reverse and duplicate ¤…TheQ Last element equals "The" (true = 1, false = 0) sgα Absolute difference with length of array £ Get elements from index 0 to calculated difference R Reverse ðý Join on space )‚øí Pair each element with original {ø¤ Sort and get the original band name 
Source Link
kalsowerus
  • 2k
  • 11
  • 17

05AB1E, 27 bytes

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ 

Try it online!

Explanation

vyð¡RD¤…TheQsgα£Rðý})‚øí{ø¤ Argument l v } For each y in l, do: yð¡ Split y on space RD Reverse and duplicate ¤…TheQ Last element equals "The" (true = 1, false = 0) sgα Absolute difference with length of array £ Get elements from index 0 to calculated difference R Reverse ðý Join on space )‚øí Pair each element with original {ø¤ Sort and get the original band name