Truncate Sentence at Amazon

Easy86.6% acceptance

This problem has 12.5% frequency at Amazon.

Problem Description

A **sentence** is a list of words that are separated by a single space with no leading or trailing spaces. Each of the words consists of **only** uppercase and lowercase English letters (no punctuation). * For example, `"Hello World"`, `"HELLO"`, and `"hello world hello world"` are all sentences....

Read full problem and hints

Topics

Also asked at 1 company


More Amazon Questions

View all Amazon questions