Skip to content
This repository was archived by the owner on Feb 20, 2019. It is now read-only.
This repository was archived by the owner on Feb 20, 2019. It is now read-only.

Add a mode function #221

@anddago

Description

@anddago

👋
First of all, thank you for your inspiring lessons on open source contribution!
I would like to add a mode function: it will return the most common element in an array.
The solution I found on StackOverflow: Get the element with the highest occurrence in an array

Would it be ok?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions