You are viewing a single comment's thread. Return to all comments →
public static int[] matchingStrings(string[] strings, string[] queries) => queries.Select(query => strings.Count(text => text == query)) .ToArray();
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 →