Word Break 1 - Check if word is breakable

mediumSolve on LeetCode
Last edited: August 2, 2025