Solutions for AB Check
View the challenge

This challenge requires you to determine if the characters "a" and "b" are separated by exactly 3 places anywhere in the string. For example, the string "a4 cb" should return true, but the string "aj44ikb" should return false. A simple loop through the string provides us with a possible solution to the challenge.

You need to be a member to see the rest of this solution and code.