Wordbreak . Leetcode 139 - Solved using DFS approach

preview_player
Показать описание
Many problems in Strings can be treated as solving a Graph problem using DFS/BFS Nothing new here !!

#dfs #interviewdose #codinginterview
Рекомендации по теме
Комментарии
Автор

An awesome explanation, you made the dynamic programming look simple. As I always struggle with DP you made it to me soo simple and crisp to solve this problem. Thank you.

uma_mataji
Автор

This solution is also giving TLE for 472. Could you please suggest an alternate approach please ?
thanks :)

sumitchhabra
welcome to shbcf.ru