Upstart Interview Question

max array lc coding question