Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

added 261 characters in body
Source Link
Dennis
  • 211.7k
  • 41
  • 380
  • 830

Jelly, (削除) 5 (削除ここまで) 4 bytes

f2\Ạ

Input is an array of strings.

Try it online!

How it works

f2\Ạ Main link. Argument: A (array of strings)
 2\ Pairwise reduce by:
f Filter, yielding all chars in the left string that appear in the right one.
 Ạ All; yield 1 if all strings are non-empty, 0 if not.

Jelly, (削除) 5 (削除ここまで) 4 bytes

f2\Ạ

Input is an array of strings.

Try it online!

Jelly, (削除) 5 (削除ここまで) 4 bytes

f2\Ạ

Input is an array of strings.

Try it online!

How it works

f2\Ạ Main link. Argument: A (array of strings)
 2\ Pairwise reduce by:
f Filter, yielding all chars in the left string that appear in the right one.
 Ạ All; yield 1 if all strings are non-empty, 0 if not.
added 124 characters in body
Source Link
Dennis
  • 211.7k
  • 41
  • 380
  • 830

Jelly, 5(削除) 5 (削除ここまで) 4 bytes

Df2\Ạf2\Ạ

Try it online! Input is an array of strings.

Try it online!

Jelly, 5 bytes

Df2\Ạ

Try it online!

Jelly, (削除) 5 (削除ここまで) 4 bytes

f2\Ạ

Input is an array of strings.

Try it online!

Source Link
Dennis
  • 211.7k
  • 41
  • 380
  • 830

Jelly, 5 bytes

Df2\Ạ

Try it online!

AltStyle によって変換されたページ (->オリジナル) /