MCQs > IT & Programming > Swift > Let’s assume "numbers" is an array of unsorted integers. Which of these could be used to sort numbers?

Swift MCQs

Let’s assume "numbers" is an array of unsorted integers. Which of these could be used to sort numbers?

Answer

Correct Answer: numbers.sort({$0 > $1})

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Swift Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Swift Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it