Kotlinlearncs.online LogoJava
Return to List

Homework: Count Matching Neighbors

Created By: Chris Taylor
/ Version: 2023.7.0

Complete the following recursive method that returns a count of how many characters have neighboring characters that match. For example, "ama" here "m" has matching neighbors since they are both "a".

Related Lessons

Stuck? You may find these lessons helpful: