Comcast Interview Question

Max of Array square, String regex