Solve: Rotate Left 2
Imported By: Geoffrey Challen
/ Version: 2021.5.0
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.
For this problem we're expecting only a method.
Don't define a class, include modifiers like static or public, add import statements, or add code outside the method declaration.fun left2(input: String): String {
return ""
}