diff options
Diffstat (limited to 'progs/a49.py')
-rw-r--r-- | progs/a49.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/progs/a49.py b/progs/a49.py new file mode 100644 index 0000000..4039ae5 --- /dev/null +++ b/progs/a49.py @@ -0,0 +1,9 @@ +def are_Equal(arr1,arr2,n,m):
+ if (n != m):
+ return False
+ arr1.sort()
+ arr2.sort()
+ for i in range(0,n - 1):
+ if (arr1[i] != arr2[i]):
+ return False
+ return True
\ No newline at end of file |