SimilarWeb Interview Question

some easy array question as a graph