about | help | code help+videos | done | prefs |
exchangeFirstAndLast
Given a string, creates a new string by exchanging the first and last characters of the input string. (Difficulty Level: 3) exchangeFirstAndLast("Hello") → "oellH" exchangeFirstAndLast("Cool") → "looC" exchangeFirstAndLast("Tuesday") → "yuesdaT" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy