questions/08767-medium-combination/README.md
Given an array of strings, do Permutation & Combination. It's also useful for the prop types like video controlsList
// expected to be `"foo" | "bar" | "baz" | "foo bar" | "foo bar baz" | "foo baz" | "foo baz bar" | "bar foo" | "bar foo baz" | "bar baz" | "bar baz foo" | "baz foo" | "baz foo bar" | "baz bar" | "baz bar foo"`
type Keys = Combination<['foo', 'bar', 'baz']>
<a href="../../README.md" target="_blank"></a> <a href="https://tsch.js.org/8767/answer" target="_blank"></a> <a href="https://tsch.js.org/8767/solutions" target="_blank"></a> <hr><h3>Related Challenges</h3><a href="https://github.com/type-challenges/type-challenges/blob/main/questions/00296-medium-permutation/README.md" target="_blank"></a> <!--info-footer-end-->