From 4e5332f148f95e3bcc01108ebbd7352234254de4 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 9 Jul 2026 05:06:14 -0600 Subject: [PATCH 1/2] adding updates --- .../interviews/google_top_exercises/round_1/13_word_break.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/my_project/interviews/google_top_exercises/round_1/13_word_break.py b/src/my_project/interviews/google_top_exercises/round_1/13_word_break.py index dbbf6b3b..8f1b860b 100644 --- a/src/my_project/interviews/google_top_exercises/round_1/13_word_break.py +++ b/src/my_project/interviews/google_top_exercises/round_1/13_word_break.py @@ -1,6 +1,5 @@ from typing import List - class Solution: def wordBreak(self, s: str, wordDict: List[str]) -> bool: words = set(wordDict) From 71ca4f44817e9f1748568daf4b9cdf78172668c5 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 9 Jul 2026 05:07:45 -0600 Subject: [PATCH 2/2] adding pudates git --- .../interviews/google_top_exercises/round_1/13_word_break.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/my_project/interviews/google_top_exercises/round_1/13_word_break.py b/src/my_project/interviews/google_top_exercises/round_1/13_word_break.py index 8f1b860b..a39fc6a4 100644 --- a/src/my_project/interviews/google_top_exercises/round_1/13_word_break.py +++ b/src/my_project/interviews/google_top_exercises/round_1/13_word_break.py @@ -4,7 +4,6 @@ class Solution: def wordBreak(self, s: str, wordDict: List[str]) -> bool: words = set(wordDict) n = len(s) - # dp[i] is True if s[:i] can be segmented into dictionary words. # Empty prefix is trivially segmentable. dp = [False] * (n + 1)