• + 0 comments

    why flatMap?

    maybe:

    return queries.map { s -> strings.count { it==s } }.toTypedArray()