Comcast Interview Question

Can't disclose anything. But easy leetcode enough