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 hintsTopics
Also asked at 1 company
More Amazon Questions
Two SumEasyLongest Substring Without Repeating CharactersMediumTrapping Rain WaterHardBest Time to Buy and Sell StockEasyNumber of IslandsMedium
View all Amazon questions