Advent Calendar - December 18, 2025
Advent Calendar 2025 | Day 17 | Day 18 | The gift is presented by Torgny Lyon. Today he is talking about his solutioni to The Weekly Challenge - 339. This is re-produced for Advent Calendar 2025 from the original post. Lessons learned in Week 339 Negative array indices – I had forgotten about those. My implementation of find_max_diff() is indeed broken. It will, for example, not give the correct answer for a list like (1, 2, 3, -4).
Continue Reading