We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

Weekly Challenge

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

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

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback

Challenge #328: Booking a Flight? Think Twice!

Thomas_Wells_2dot0
6 - Meteoroid

Solution attached.

 

I got a different answer for question #4. I don't think the sample output answer is correct with "44,777 cancelled flights". The starting input has about 94k lines of flight details, so if 50% of these flights were cancelled the airline industry would be in really big trouble :) 

Ravi_KM
8 - Asteroid

My Solution

Yes, 4th solution is misleading ..seems some incorrect value

AlexEntz
8 - Asteroid

Please find my Solutions attached. Like others have said, the Output is kinda misleading and outright wrong for the fourth solution.

 

Spoiler
AlexEntz_0-1658322147198.png

 

brandon_bunney
8 - Asteroid

might even think thrice after this challenge

JamesCharnley
8 - Asteroid
Spoiler
JamesCharnley_0-1658328761300.png

 

Questions not worded great and output made things a lot more confusing, but nice, easy challenge.

MuralidharAreti
7 - Meteor

So #4 asked for the number of flights canceled in the summer of 2021. My answer was 25. I have no idea where 44,777 came from because out of 94,756 records, and there were only 1,530 cancellations. There were 73,254 flights in the summer, and I know the flights were bad but I'm pretty sure not half of the flights were canceled! That would be nuts!

 

Spoiler
The Prep Stage: 
MuralidharAreti_0-1658337100268.png



The Solution Stage:

MuralidharAreti_1-1658337117137.png

 

alexnajm
10 - Fireball

Agree with everyone about Output #4 being an issue, but otherwise good!

Spoiler
Challenge 328.PNG
Brian32
8 - Asteroid

Challenge Solution

Spoiler
Brian32_0-1658345847131.png

 

PhilipMannering
15 - Aurora
15 - Aurora

Solution attached.

 

Spoiler
PhilipMannering_0-1658410149868.png

 

LiuZhang
8 - Asteroid
Spoiler
328.png

Wording is definitely misleading, have to check others workflow to notice the count is the answer, not the sum of minutes.