Approach hintTry it first, then revealHide
Scan the string; when WUB begins at the current index, skip it and remember that a word boundary was crossed. Print one space before a letter only if a boundary was crossed and some word has already been printed.