about | help | code help+videos | done | prefs |
longerWord
Given two words, return the longer word. If both words have the same length, return "tie". longerWord("cat", "house") → "house" longerWord("dog", "am") → "dog" longerWord("tie", "it") → "tie" ...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: 120
Copyright Nick Parlante 2017 - privacy