2. List Overlap

A program that returns a list containing only the common elements between two lists. For example, given the lists [1, 2, 3, 4] and [3, 4, 5, 6], the program should return [3, 4].

image