Break into Words

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

Given a string with no spaces and a dictionary of words, decide whether the string can be split into a sequence of dictionary words. Explain your dynamic programming table.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →