about | help | code help+videos | done | prefs |
Given a String return the third and third from last characters concatenated in that order as a single String. If the given String is less than 3 characters long return the given String. You may assume the String has been declared but it might be of length zero. threesCompany("candle") → "nd" threesCompany("light") → "gg" threesCompany("x") → "x" ...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: 110 Post-solution available
Copyright Nick Parlante 2017 - privacy