Identifying Consecutive Character Groups in Strings Using Scala | CodeSignal Learn