Given an array of strings, return another array containing all of its longest strings.
For inputArray = ["aba", "aa", "ad", "vcd", "aba"],
the output should be allLongestStrings(inputArray) = ["aba", "vcd", "aba"].
Practice with me, Learn with me.
I am a beginner like you☺️
#codesignal #coding