H15

Given a string, is it in alphabetical order?

Input: A string containing only lower case characters (a-z).

Output: A standard true value if the string is in (weak) alphabetical order, and a standard false value otherwise.

Examples:

bells->True
dents->False
art  ->True

Languages, by Score

Languages, by Name


Back to Hole List

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License