about | help | code help+videos | done | prefs |
Return the length of the LONGER of the two input parameter strings. If the two strings have the same length, return zero to indicate that. Look at the test data for examples. test2021_11_04_APSLHL_longer("Strings are fun!", "short") → 16 test2021_11_04_APSLHL_longer("Go forth and be excellent", "You can make a difference, especially if you subtract two numbers!") → 66 test2021_11_04_APSLHL_longer("Quest for knowledge", "be excellent") → 19 ...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: 220
Copyright Nick Parlante 2017 - privacy