Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for Words Order by suic
function wordsOrder(text: string, words: string[]): boolean {
return (words.length === new Set(words).size) && RegExp(`\\b${words.join('\\b.*\\b')}\\b`).test(text);
}
Aug. 15, 2020
Comments: