Question: Two people compare their favorite playlists for matching songs. The first playlist has n songs, and the second has m. Each is stored in a one-dimensional array, in no particular order.
Program: Write a program to find the common songs in these lists. Let user enter the list sizes n and m and the songs. While testing your program for submission, make sure that the lists are different but they do intersect in some songs.
You have to prepare a program to find the songs in list.