Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEA100% matched, bonus included
Lots of people are using inner joins to deal with parts 2 and 3.
There's ambiguity, though, with the way these questions are phrased and with the assumptions that might be made about the datasets.
The first dataset contains a competition, the date it was held, and the place in which it was held. 7094 records. Looks good.
In the second dataset we have one record per competitor to indicate their nationality, their average solve time, and a competition. But what does that mean? Kaggle says it is one competition at which the competitor achieved that average solve time over the person's five best attempts during that competition.
To answer questions 2 and 3 wouldn't we really ought to know, in addition to the nation the competitor represents, each competitor's average and best times at each competition in which that competitor competed?
Anyway, here's my solution. I had to use several minor tools to get the output into the format that they wanted.
These times are incredible, I posted a 22 second solve once and was pretty proud of that, need to reevaluate my life choices.
Crazy week working on puzzles of my own. Finally got a chance to knock this one down.