Showing 3 of 5 questions
Find the shortest string that is not a substring of any string within a given array of strings. Return this shortest uncommon substring.
#1. Shortest Uncommon Substring in an Array
Given a string and a dictionary of words, find all possible ways to break the string into space-separated words from the dictionary. Return the list of these valid sentences.
#2. Word Break II
You're given a sentence and a list of word synonyms. The goal is to generate all possible synonymous sentences by replacing words with their synonyms.
#3. Synonymous Sentences
Page 1 of 1 · 5 total