using System.Collections.Generic;
public static bool IsValidSentence(List<string> words, string sentence)
throw new NotImplementedException();
public static void Main()
List<string> words = new List<string> {
"examples", "shows", "how", "to", "set", "a", "limit",
"for", "a", "group", "of", "product", "store", "or",
"a", "product", "store", "scope", "with", "the",
"lower", "limit", "table", "parameter","rest", "of",
"the", "scope", "uses", "the", "limit", "set", "with",
"lower", "limit", "parameter"
string sentence = "a scope uses product set with a limit parameter";
Console.WriteLine("words: " + string.Join(", ", words));
Console.WriteLine("sentence: " + string.Join(", ", sentence));
bool isValid = IsValidSentence(words, sentence);
Console.WriteLine("IsValid: " + isValid);