| about | help | code help+videos | done | prefs |
Given two string, return the longer one. If they're equal, return "!" longest('Hi!', 'HIIIIIIIIIIIIIIIIIII') → 'HIIIIIIIIIIIIIIIIIII' longest('?', '?') → '!' longest('Negative value', '+Positive value') → '+Positive value' ...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: 150 Post-solution available
Copyright Nick Parlante 2017 - privacy