Kotlinlearncs.online LogoJava
Return to List

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.

fun left2(input: String): String {
return "" // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: