当每个要素只是一个扼杀时,我如何能够从关键因素中获得价值?
我的守则是:
public List<int[]> FindAllLetters(List<string> lettersOnBoard, Dictionary<string, int> frequency)
{
List<int[]> lettersExistLeft = new List<int[]>();
foreach (string letter in frequency.Keys)
{
int exist = 0;
int dictionaryFrquencyLetter = 0;
exist = lettersOnBoard.Count(n => n == letter);
dictionaryFrquencyLetter = letter.GiveValueOfKey() //< how get value of key(letter) ?
}
throw new NotImplementedException();
}
是否可能这样做?