The program to check if two arrays are equal or not is discussed here. Given two arrays, display “Same” if both arrays are equal. Else, display “Not Same”.
Input format:
Sample Input:
3
3
1
2
3
1
2
3
Sample output:
Same
@@coding::1@@
Recommended Programs