Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if two Arrays are Equal or not #26

Open
dorakit opened this issue Oct 8, 2022 · 1 comment
Open

Check if two Arrays are Equal or not #26

dorakit opened this issue Oct 8, 2022 · 1 comment

Comments

@dorakit
Copy link
Owner

dorakit commented Oct 8, 2022

Arrays are said to be equal if and only if both arrays contain the same elements and the frequencies of each element in both arrays are the same.

Examples:

Input: arr1[] = {1, 2, 3, 4, 5}, arr2[] = {5, 4, 3, 2, 1}
Output : Equal
Explanation: As both the arrays contain same elements.
@Rakteem007
Copy link

can you assign this to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants