← Microsoft questions

Calculate difficulty of a given sentence

Filed under Microsoft

Calculate the difficulty of a given sentence. A word is hard if it has 4 consecutive consonants or more consonants than vowels; otherwise, it is easy. Sentence difficulty is defined as 5*(hard words)…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.