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