DEV Community

Discussion on: Keeping Your Code Simple

Collapse
 
fc250152 profile image
Nando

I don't think this is a simpler solution, albeit from a logical point of view: it may be understood only considering the outcome of the sorting process, then getting the first item as the one with the minor size...