Robbie Hatley’s Solutions, in Perl, for The Weekly Challenge #400 (“Largest Interval” and “Minimum Genetic Mutation”)
For those not familiar with "The Weekly Challenge", it is a weekly programming puzzle with two tasks, with a new pair of tasks each Monday. You can find it here: The Weekly Challenge The Weekly Challenge for the week of 2026-11-09 through 2026-11-15 is #400. The tasks for this challenge are as follows: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Task 400-1: Largest Interval Submitted by: Ali Moradi You are given a positive integer. Write a script that generates a sequence of integers from 1 to given positive integer, filtering out any numbers that contain repeating digits (e.g., 11, 99, 100, and 101 are excluded) and return the biggest jump. We don't need to store the integers in an array; we need only keep track of "longest interval seen so far". Robbie Hatley's Perl Solution to The Weekly Challenge 400-1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Task 400-2: Minimum Genetic Mutation ...