about | help | code help+videos | done | prefs |
Given an ArrayList of String values, find and return the String value which is "less than" all the others, as determined by using the compareTo method of the String class. Precondition: lst contains at least one String. apcsaStringCompareFirst(["b", "a", "c"]) → "a" apcsaStringCompareFirst(["a", "b", "c"]) → "a" apcsaStringCompareFirst(["dab", "a"]) → "a" ...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: 230
Copyright Nick Parlante 2017 - privacy