Write a method to find the common elements in three arrays.
MediumProblem Statement
Write a method to find the common elements in three arrays.
Sample Input
[1, 2, 3], [2, 3, 4], [3, 4, 5]
Sample Output
[3]
Limits
Time: 2s · Memory: 256 MB
Write a method to find the common elements in three arrays.
[1, 2, 3], [2, 3, 4], [3, 4, 5]
[3]
Time: 2s · Memory: 256 MB