Measure the Final Word Before Trailing Spaces
Company: Google
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: easy
Interview Round: Other
Overview: Measure the final word in a letter-and-space string while ignoring trailing spaces and preserving the source alphabet.