2017-9: Double Trouble
Write code that takes a character vector or scalar and returns a Boolean vector indicating anywhere an element is followed by an element of the same value.
Examples
Implementation
You can also run the tests via ⌘/shift + enter