Word Break II: Rebuild a Sentence from a Dictionary (Backtracking + Memo)
Also reported as Reconstruct Sentence from Dictionary
CodingMicrosoftLast reported October 2026Low Frequency
Reported
2× across candidate reports
First seen
January 2026
Last reported
October 2026
Reported outcome
fail
Problem Overview
Microsoft coding question, reconstructed from 2 candidate reports (January 2026 to October 2026). The write-up includes a Python solution that passes 8 test cases.
The full problem statement — full requirements, constraints, and edge cases
Approach and trade-offs — what passing candidates did, and the mistakes that sink people
Unlock the full Microsoft catalog
Full problem statements, candidate-reported follow-ups, and walkthroughs — for every Microsoft question.