about | help | code help+videos | done | prefs |
Given an ArrayList of String values, determine and return whether the ArrayList is in alphabetical order when considering only the last character of each String. Alphabetical order means "non-descending," which means that if two consecutive Strings have the same last letter, that does not by itself mean that the output is unsorted. apcsaCompareStringsLastCharacter(["apple", "banana", "grape"]) → false apcsaCompareStringsLastCharacter(["banana", "apple", "lemon"]) → true apcsaCompareStringsLastCharacter(["banana", "apple", "grape"]) → true ...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: 240
Copyright Nick Parlante 2017 - privacy