Ruby - Arrays
Given an array of strings
words = ["pear", "apple", "banana"], how can you sort it by string length in descending order?words = ["pear", "apple", "banana"], how can you sort it by string length in descending order?15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions