Skip to content

Commit 6f32565

Browse files
committed
Runtime: 82 ms (Top 23.89%) | Memory: 13.9 MB (Top 78.76%)
1 parent 6265b74 commit 6f32565

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/algorithms/L/Longest Chunked Palindrome Decomposition/Longest Chunked Palindrome Decomposition.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Runtime: 82 ms (Top 23.89%) | Memory: 13.9 MB (Top 78.76%)
12

23
class Solution:
34
def longestDecomposition(self, text: str) -> int:
@@ -16,5 +17,3 @@ def longestDecomposition(self, text: str) -> int:
1617
if left == right or left > last_left + 1:
1718
sol += 1
1819
return max(sol, 1)
19-
20-

0 commit comments

Comments
 (0)