Challenge #319: Sports Spots
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Several problems with the provided solution. As @Reesetrain2 noted, Bronx is a borough of New York City. Also, the solution doesn't account for cities that have more than one team in the same league. So New York should be in the list. Excluding the Bronx, it has no NFL or MLS teams but does have two NHL and NBA teams. The question asks how many leagues are represented. The solutions shows a count of 5, should be 3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I ended up with 48 due to NY Ctiy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I created 2 outputs. One has the 48 cities, but outlines each of the Team types and names them. the other has 101 records but that's due to each of the cities having multiple teams. I also kept the Burroughs of NYC separated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
My solution:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
New York City should be included in the solution output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I used my first macro, that was fun, Also noticed solution was wrong, because New York City has 5 teams but only 3 leagues. I made sure to include the extra teams in the final data, but only count them as 3 unique leagues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator