about | help | code help+videos | done | prefs |
Given a string, return a "rotated left 2" version where the first 2 chars are moved to the end. The string length will be at least 2. left2('Hello') → 'lloHe' left2('java') → 'vaja' left2('Hi') → 'Hi' ...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: 133.0 Post-solution available
Copyright Nick Parlante 2017 - privacy