Check if two arrays are identical (same elements in the same order).
MediumProblem Statement
Check if two arrays are identical (same elements in the same order).
Sample Input
[1, 2, 3], [1, 2, 3]
Sample Output
true
Limits
Time: 2s · Memory: 256 MB
Check if two arrays are identical (same elements in the same order).
[1, 2, 3], [1, 2, 3]
true
Time: 2s · Memory: 256 MB