Skip to main content
added 148 characters in body
Source Link
Expired Data
  • 4k
  • 1
  • 12
  • 34

05AB1E, 1017 bytes

Σ7ÝRAS«Σ•_ćúθœιu0•hSk}ÙQ 

Try it online!Try it online!

Explanation:

Σ  } # Sort by   k # the index of each char of the input in...  7ÝR  •_ćúθœιu0•hS # the numbers 7 -> [7...0,9,8,A...F]  AS  # then the alphabet « Ù # concatenated Ù remove duplicates    # remove duplicates    Q # and check that it's not changed 

05AB1E, 10 bytes

Σ7ÝRAS«}ÙQ 

Try it online!

Explanation:

Σ } # Sort by k # the index of each char of the input in...  7ÝR  # the numbers 7 -> 0  AS  # then the alphabet «  # concatenated Ù  # remove duplicates    Q # and check that it's not changed 

05AB1E, 17 bytes

Σ•_ćúθœιu0•hSk}ÙQ 

Try it online!

Explanation:

Σ  } # Sort by   k # the index of each char of the input in... •_ćúθœιu0•hS # [7...0,9,8,A...F] Ù # remove duplicates    Q # and check that it's not changed 
Source Link
Expired Data
  • 4k
  • 1
  • 12
  • 34

05AB1E, 10 bytes

Σ7ÝRAS«}ÙQ 

Try it online!

Explanation:

Σ } # Sort by k # the index of each char of the input in... 7ÝR # the numbers 7 -> 0 AS # then the alphabet « # concatenated Ù # remove duplicates Q # and check that it's not changed