Skip to main content
1 of 3
ovs
  • 60.6k
  • 3
  • 47
  • 161

BQN, 30 bytesSBCS

{∾•Fmt¨×⊸/+˝(𝕩∾32+𝕩)=⌜'a'+↕26}

Run online!

'a'+↕26 The letters from a to z.
𝕩∾32+𝕩 The input string joined with the input string where each codepoint is increased by 32.
=⌜ Equality table between those two strings.
Sum the columns.
×⊸/ Keep the values with sign 1 (or: remove the zeros)
∾•Fmt¨ Convert each value to a string and join.

ovs
  • 60.6k
  • 3
  • 47
  • 161