Create a method to find the common elements between two arrays.
EasyProblem Statement
Create a method to find the common elements between two arrays.
Sample Input
Array1: [1, 2, 3], Array2: [2, 3, 4]
Sample Output
2 3
Limits
Time: 2s · Memory: 256 MB