Comcast Interview Question

Asked to write queries and project code