Skip to content

Latest commit

聽

History

History
9 lines (3 loc) 路 182 Bytes

problme.md

File metadata and controls

9 lines (3 loc) 路 182 Bytes

Problem 67:

Write a JavaScript program to find the most frequent element in an array and return it.

Example Input: [3, 5, 2, 5, 3, 3, 1, 4, 5] Example Output: 3