"""Check if a sequence is safe according to the original rules.""" differences = [line[i + 1] - line[i] for i in range(len(line) - 1)] # Check if all differences are either increasing or decreasing ...
Some results have been hidden because they may be inaccessible to you