Kotlinlearncs.online LogoJava
Return to List

Homework: Remove Repeats

Created By: Chris Taylor
/ Version: 2023.7.0

Complete the following recursive method that returns a string where all neighboring repeated characters are removed.

  • "help" -> "help"
  • "happy" -> "hapy"
  • "buffalo" -> "bufalo"

Related Lessons

Stuck? You may find these lessons helpful: