String Statistics: Sentence Count, Word Count, and Repeating Bigrams
Given a text string (e.g., a Lorem Ipsum passage), implement a series of functions to extract statistical information: the number of sentences, the number of words, and the number of repeating bigrams (pairs of consecutive words that appear more than once).
Asked at:
K
Kaluza
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early July, 2026
K
Kaluza
Mid-level
Given lorem ipsum code, complete a series of questions to calculate facts such as 'how many sentences in the string, how many words, how many repeating bigrams, etc.
Hello Interview Premium
Your account is free and you can post anonymously if you choose.