| about | help | code help+videos | done | prefs |
Given three Strings, str1, str2 and str3, return the longest String. If all three Strings have the same length, return "same". There will not be a tie between two longest Strings. longestString("apple", "banana", "pear") → "banana" longestString("one", "two", "three") → "three" longestString("bob", "jim", "joe") → "same" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 175 Post-solution available
Copyright Nick Parlante 2017 - privacy