How do you ensure code quality and maintainability?
Implement flag_long_lines(lines, max_length) as a small, readable quality check. Input is an array of strings and a non-negative maximum length; output is an array of zero-based indices for lines whose length exceeds that limit. Keep the behavior deterministic and easy to test.
def flag_long_lines(lines, max_length):