Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Start Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #481: Electric Vehicle Production Insights - Part 2

AYXAcademy
Alteryx
Alteryx

Full Width - WC banner.svg

Hi Community members,

 

A solution to last week’s challenge can be found here.

 

This two-part challenge was submitted by Guilherme Dias, @Bennu. Thank you, Guilherme, for your great submission!

 

In the previous challenge, you have already identified critical production trends and model behaviors for electric vehicles. Now, shift your focus to innovation and decline — two sides of product lifecycle in the EV industry.

 

In the second part of this challenge, you analyze which years saw surges of new model launches and which saw waves of production extinction.

Reminder: Only include years from 2010 to 2024 in your analysis, as 2025 data is incomplete.

 

Here are the two tasks you need to accomplish:

 

  1. Determine which two years had the most distinct new models launched and from which brands were these models launched.
  2. Identify the year with the highest number of distinct models that stopped being produced, relative to the prior year. Count each model that was produced in year Y but not in year Y+1 as “extinct,” even if it returns in later years.

 

You are provided with one dataset (the same dataset from part 1 of this challenge):

Electric Vehicle Data – provides the model year, manufacturer (brand) and car model.

 

Once you have completed your challenge, include your solution file and a screenshot of your workflow as attachments to your comment.

 

Good Luck!

The Academy Team

 

Source:

https://catalog.data.gov/dataset/electric-vehicle-population-data

 

Download Start File

 

Download Solution File

Pilsner
12 - Quasar

Part two took a bit of thinking, great challenge! Here's my solution:

Spoiler
481.png

Time Taken: 00:15:11 

Bobbyt23
12 - Quasar

Another fun one with lots of logic thinking and different tools.

Spoiler
image.png
Kenda
16 - Nebula
16 - Nebula
Spoiler
image.png
DylanBell
10 - Fireball
Spoiler
Screenshot 2025-06-18 160402.png

 Time Taken: 24:37

This one definitely got my brain engaged! 


Bulien
AkimasaKajitani
17 - Castor
17 - Castor

My solution!

 

Spoiler
image.png
fdavy
7 - Meteor

Here's my solution !

RolandSchubert
16 - Nebula
16 - Nebula
Spoiler
481.jpg
Dev73
8 - Asteroid

Good one 

Spoiler
challenge 481.jpg
abacon
12 - Quasar

The new ranking tools are very handy, eliminate the need for Record IDs and Multi-row formulas to rank the data.

 

Spoiler
image.png