You are viewing a single comment's thread. Return to all comments →
C# Code
public static List matchingStrings(List strings, List queries) { var resultList = new List();
foreach(string queryItem in queries) { resultList.Add(strings.Count(e => e == queryItem)); } return resultList; }
Seems like cookies are disabled on this browser, please enable them to open this website
Sparse Arrays
You are viewing a single comment's thread. Return to all comments →
C# Code
public static List matchingStrings(List strings, List queries) { var resultList = new List();