Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEASolved.
By the way, the Output you provided in the start file does not match what is in the database currently (you probably uploaded a different version of the table). I ran your solution to confirm.
Not logic I've ever used when parsing JSON before in this solution but I'm pleased with it!
Here's my solution. It doesn't match the output 100% because there may be some arithmetic done for one of the fields. It would take some tweaking to get it to match, but it's the same idea as my current solution.