Intersection of 2 arrays hackerblog problem

intersection of 2 arrays can anybody explain the solution

Please post link to the problem statement.

https://hack.codingblocks.com/contests/c/509/209

The question is self explanatory.
You just need to find the common elements of the two arrays and print them.