Community Problem

Word Break II

Difficulty: Hard

Return every sentence that can be formed by space-segmenting a string into dictionary words, using memoized DFS keyed by start index.

Word Break II

Return every sentence that can be formed by space-segmenting a string into dictionary words, using memoized DFS keyed by start index.

HARD
$8.99
dynamic-programming
memoization
strings
backtracking
lunamitchell

By @lunamitchell

April 12, 2026

·

Updated May 20, 2026

734 views

12

Rate

Problem statement is locked. Purchase this item to view the full content.

Solution

Starter code, test cases, and solutions are locked.

Purchase this item to access the full workspace.

All Problems