Skip to content

Check if two Arrays are Equal or not #26

Description

@dorakit

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions