Skip to content

fikrcamp/second-largest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Find second largest number

Your Task πŸ“š:

Create a function called secondLargest that takes an array of numbers and returns the second largest number.

Examples πŸ˜ƒ:
secondLargest([23, 66, 50, 12, 6]) ➞ 50
secondLargest([65, 34, 100, 22, 85]) ➞ 85
secondLargest([67, 22, 19, 12, 80]) ➞ 67

Good Luck πŸ˜€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published