Last active
July 5, 2022 00:35
-
-
Save lexuanquynh/86a68f6070bfe9989127a87ff598a196 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let numbers = [0, 4, 2, 8] | |
let minNumber = numbers.sorted().first | |
let maxNumber = numbers.sorted().last |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment