DEV Community

Discussion on: Challenge: Get Closest Number in an Array

Collapse
 
lucifer1004 profile image
Gabriel Wu

What if there are two numbers that are equally close to the given number?
I think you should point this out in the description.