Coding Challenge · INTERMEDIATE
A librarian wants to reorganize a shelf of books so that every word in each book title starts with a capital letter and all extra spaces are removed. Given a string representing a book title, your objective is to return the title with each word capitalized (first letter uppercase, the rest lowercase), and with exactly …