Internet Brands interview question

Medium level questions about algorithms.