Amazon Interview Question

in coding assessment - find minimum characters and parsing a data log