Skip to main content
added 23 characters in body
Source Link
AZTECCO
  • 10.9k
  • 1
  • 15
  • 58

Japt -f, 66 5 bytes

Vá døUøVáUl

Try itTry it

-f flag to output the elements of first input
   that return a truthy value when passed through

ø       - alltrue permutationsif ofword 2ndcontains inputany of:
   d   - permutations -of returnalphabet true 
 if one 
 Ul   - øUof same length -of containsword inputhence beingequal checked

Or try thattry that

Japt -f, 6 bytes

Vá døU

Try it

-f flag to output the elements of first input that return a truthy value when passed through
       - all permutations of 2nd input
   d     - return true if one 
     øU   - contains input being checked

Or try that

Japt -f, 6 5 bytes

øVáUl

Try it

-f flag to output the elements of first input
   that return a truthy value when passed through

ø       - true if word contains any of:
      - permutations of alphabet  
   Ul   - of same length of word hence equal 

Or try that

Source Link
AZTECCO
  • 10.9k
  • 1
  • 15
  • 58

Japt -f, 6 bytes

Vá døU

Try it

-f flag to output the elements of first input that return a truthy value when passed through
Vá       - all permutations of 2nd input
   d     - return true if one 
    øU   - contains input being checked

Or try that