Search
⌘K

Leetcode 811. Subdomain Visit Count

Given entries like "9001 discuss.hellointerview.com", parse each count and domain, generate all parent subdomains (e.g., "hellointerview.com", "com"), and aggregate visit counts for each subdomain. This is a string parsing + hashmap accumulation problem to sum frequencies and output count-paired results.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Your account is free and you can post anonymously if you choose.