HackerRank: Weather Observation Station 3
Question and Answer:
Key Points:
What the Query Does
Retrieves unique CITY names where the station ID is even
Key Conditions Used
ID % 2 = 0 ensures only even IDs are included
DISTINCT CITY removes duplicate city names
Why It Works
Meets both...
is-power-of-two.hashnode.dev1 min read