← Google questions
CodingReported in a candidate post, Aug 2021

Find top K users with the maximum number of words spoken in chat history

Filed under Google

Given a list of chat messages where each message is associated with a user, return the top k users who spoke the highest total number of words. Word count is determined by splitting messages by…

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

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