pub fn solution<const E: usize, S: AsRef<str>, I: Iterator<Item = S>>(
lines: I
) -> Result<usize>
Expand description
Solution however the time complexity could be probably improved. If E is large then the runtime is O(n * E) where n is the length of the input lines