Given a string, return if all occurrences of a given letter are always immediately followed by the other given letter.
("he headed to the store", "h", "e") β True
# All occurences of "h": ["he", "headed", "the"]
# All occurences of "h" have an "e" after it.
# Return True
('abcdee', 'e', 'e') β False
# For first "e" we can get "ee"
# For second "e" we cannot have "ee"
# Return False
("i found an ounce with my hound", "o", "u") β True
("we found your dynamite", "d", "y") β False
- All sentences will be given in lowercase.