Brachylog, 9 bytes
{⊇m=∧?t}l
Note that this not only works with a list of integers, but also with a list of strings or a list of lists.
###Explanation
Explanation
{ }l Left fold on the input:
⊇m= It is possible to find a number which is a subset of both input numbers
∧ (and)
?t The output is the second number (to continue the fold)
Brachylog, 9 bytes
{⊇m=∧?t}l
Note that this not only works with a list of integers, but also with a list of strings or a list of lists.
###Explanation
{ }l Left fold on the input:
⊇m= It is possible to find a number which is a subset of both input numbers
∧ (and)
?t The output is the second number (to continue the fold)
Brachylog, 9 bytes
{⊇m=∧?t}l
Note that this not only works with a list of integers, but also with a list of strings or a list of lists.
Explanation
{ }l Left fold on the input:
⊇m= It is possible to find a number which is a subset of both input numbers
∧ (and)
?t The output is the second number (to continue the fold)
Brachylog, 9 bytes
{⊇m=∧?t}l
Note that this not only works with a list of integers, but also with a list of strings or a list of lists.
###Explanation
{ }l Left fold on the input:
⊇m= It is possible to find a number which is a subset of both input numbers
∧ (and)
?t The output is the second number (to continue the fold)
Brachylog, 9 bytes
{⊇m=∧?t}l
###Explanation
{ }l Left fold on the input:
⊇m= It is possible to find a number which is a subset of both input numbers
∧ (and)
?t The output is the second number (to continue the fold)
Brachylog, 9 bytes
{⊇m=∧?t}l
Note that this not only works with a list of integers, but also with a list of strings or a list of lists.
###Explanation
{ }l Left fold on the input:
⊇m= It is possible to find a number which is a subset of both input numbers
∧ (and)
?t The output is the second number (to continue the fold)