This guide describes how to find the largest word in a Ruby array filled with mixed strings.
Implement a method that returns the longest string in an array of mixed strings.
Build a method that returns the largest word in a Ruby array, even when it’s filled with variable length strings.
['A sentence', 'broken into several', 'array elements']
Real World Usage
This is an important skill to understand when it comes to working with data that isn’t formatted perfectly, which is common when working with machine learning algorithms.
Can be found on the solutions branch on github.