Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /