Skip to main content
added 125 characters in body
Source Link
Riley
  • 11.7k
  • 2
  • 22
  • 53

Bash + coreutils, 3030 28 bytes

-2 bytes thanks to Digital Trauma

grepfold -o .|sort|uniq1|sort|uniq -u|tail -1

Try it online!


Bash + coreutils, 20 bytes

sort|uniq -u|tail -1

Try it online!Try it online!

If input is given as a list of digits, one per line, we can skip the grepfold stage. That feels like cheating though.

Bash + coreutils, 30 bytes

grep -o .|sort|uniq -u|tail -1

Try it online!


Bash + coreutils, 20 bytes

sort|uniq -u|tail -1

Try it online!

If input is given as a list of digits, one per line, we can skip the grep stage. That feels like cheating though.

Bash + coreutils, 30 28 bytes

-2 bytes thanks to Digital Trauma

fold -1|sort|uniq -u|tail -1

Try it online!


Bash + coreutils, 20 bytes

sort|uniq -u|tail -1

Try it online!

If input is given as a list of digits, one per line, we can skip the fold stage. That feels like cheating though.

Source Link
Riley
  • 11.7k
  • 2
  • 22
  • 53

Bash + coreutils, 30 bytes

grep -o .|sort|uniq -u|tail -1

Try it online!


Bash + coreutils, 20 bytes

sort|uniq -u|tail -1

Try it online!

If input is given as a list of digits, one per line, we can skip the grep stage. That feels like cheating though.