← Adobe questions

Top K Frequent Words

Filed under Adobe · Also reported at Quince, Salesforce, Tesla

Given an array of strings words and an integer k, return the k most frequent strings. The result should be sorted by frequency from highest to lowest. If two words have the same frequency, the word…

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 Adobe questions

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