1214. Given a string, how would you find all letters that appeared twice in a row? For instance, you'd identify "o", "k", and "e" in the string "bookkeeper."
HardTechnical
Given a string, how would you find all letters that appeared twice in a row? For instance, you'd identify "o", "k", and "e" in the string "bookkeeper."...
Upgrade to unlock full question and expert answer
Unlock Premium Access
Get access to this question plus all premium content, expert answers verified by FAANG PMs, and recently asked questions.