| about | help | code help+videos | done | prefs |
When given 2 strings put the shorter string first. if one of the the strings is blank only return the non blank string. If they are the same length return String a first. smallFirst("", "") → "" smallFirst("hello", "world") → "hello" smallFirst("Why", "world") → "Whyworld" ...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: 100
Copyright Nick Parlante 2017 - privacy