Sponsored
Use these hints if you're stuck. Try solving on your own first.
Note that words.length is small. This means you can iterate over every subset of words (2^N).
Solve with full IDE support and test cases