Topic: Language Problem / Level: advanced

Problem: Write a program to check if a string can be segmented into valid dictionary words.

Run the code to see the output here...