Daily Challenge (120 Part Series)
Write a function that will take a string and determine if it is an acceptable sequence. The string will be composed of + and = symbols with several characters between them. For the string to be acceptable, each character must be surrounded by + symbols.
(++d+===+c++==a) => false, because a is not surrounded by +.
(+d+e+===+q+=) => true, because all characters are surrounded by +.
Want to propose a challenge idea for a future post? Email firstname.lastname@example.org with your suggestions!