Skip to content

Commit c0bcdcb

Browse files
project 67 init complete
1 parent 1f854b1 commit c0bcdcb

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

problme67/problem67.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* Write a JavaScript program to find the most frequent element in an array and return it.
2+
3+
Example Input: [3, 5, 2, 5, 3, 3, 1, 4, 5] Example Output: 3 */
4+

problme67/problme.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Problem 67:
2+
3+
### Write a JavaScript program to find the most frequent element in an array and return it.
4+
5+
**Example `Input: [3, 5, 2, 5, 3, 3, 1, 4, 5]` Example `Output: 3`**
6+
7+
8+
9+

0 commit comments

Comments
 (0)