← All problems
Hard · Backtracking

Word Break II

Return all sentences formed by segmenting the input into dictionary words.

Full problem and submission ↗
main.js

Console

Ready