Search
⌘K
Get Premium
Leetcode 3328. Find Cities in Each State II
Given State and City tables, return each state's name along with a comma-separated, alphabetically ordered list of its cities (use an empty string if a state has no cities), requiring a left join and string aggregation while handling nulls and ordering.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.