Kotlinlearncs.online LogoJava
Return to List

Homework: String Yak

Imported By: learncs.online Staff
/ Version: 2021.4.0
/ Adapted from CodingBat

Suppose the string "yak" is unlucky. Given a String, return a version where all the "yak" are removed, but the "a" can be any char. The "yak" strings will not overlap.