← Goldman Sachs questions

Compare strings in two files using exact counts

Filed under Goldman Sachs

Given two files containing strings on each line, return true if both files have the exact same frequency count of each string in any order.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.