Available question text
Given a table of city-level weather observations (country, city, weather_type), compute a single weather type for each country by aggregating city reports — typically returning the most frequent type (or the unique type if all cities agree). This tests grouping/aggregation and simple tie-resolution skills (COUNT/GROUP BY or window functions).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1294. Weather Type in Each Country
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source