Check if two arrays are equal or not Python
PROGRAM TO CHECK IF TWO ARRAYS ARE EQUAL OR NOT
Two arrays are said to be equal if both of them contain the same set of elements, arrangements (or permutation) of elements may be different though.
Note: If there are repetitions, then counts of repeated elements must also be the same for two arrays to be equal.
Note: If there are repetitions, then counts of repeated elements must also be the same for two arrays to be equal.
OUTPUT
Yes
Comments
Post a Comment