Skip to main content
added 295 characters in body
Source Link
Justin Mariner
  • 5k
  • 1
  • 13
  • 18

Japt, 17 1817 bytes

;B¬£ñl g1 çXÃkU v

+1 byte due to fixing an error. Repeats the letters A-Z to the length of the longer input, removes the values in the input, and get the first item in the array.

Try it online!

Old solution, 18 bytes

;@!UøX}a@ñl g1 çBö

Try it online!

Chooses a random character from the alphabet and repeats it to the length of the longer input string, until it is not present in the input.

Takes input as an array of two strings.

Japt, 17 18 bytes

+1 byte due to fixing an error.

;@!UøX}a@ñl g1 çBö

Try it online!

Chooses a random character from the alphabet and repeats it to the length of the longer input string, until it is not present in the input.

Takes input as an array of two strings.

Japt, 17 bytes

;B¬£ñl g1 çXÃkU v

Repeats the letters A-Z to the length of the longer input, removes the values in the input, and get the first item in the array.

Try it online!

Old solution, 18 bytes

;@!UøX}a@ñl g1 çBö

Try it online!

Chooses a random character from the alphabet and repeats it to the length of the longer input string, until it is not present in the input.

Post Undeleted by Justin Mariner
added 40 characters in body
Source Link
Justin Mariner
  • 5k
  • 1
  • 13
  • 18

Japt, 1717 18 bytes

+1 byte due to fixing an error.

;@!UøX}a@ñl og1 çBö

Try it online!Try it online!

Chooses a random character from the alphabet and repeats it to the length of the longer input string, until it is not present in the input.

Takes input as an array of two strings.

Japt, 17 bytes

;@!UøX}a@ñl o çBö

Try it online!

Chooses a random character from the alphabet and repeats it to the length of the longer input string, until it is not present in the input.

Takes input as an array of two strings.

Japt, 17 18 bytes

+1 byte due to fixing an error.

;@!UøX}a@ñl g1 çBö

Try it online!

Chooses a random character from the alphabet and repeats it to the length of the longer input string, until it is not present in the input.

Takes input as an array of two strings.

Post Deleted by Justin Mariner
Source Link
Justin Mariner
  • 5k
  • 1
  • 13
  • 18

Japt, 17 bytes

;@!UøX}a@ñl o çBö

Try it online!

Chooses a random character from the alphabet and repeats it to the length of the longer input string, until it is not present in the input.

Takes input as an array of two strings.