Skip to content

Commit 5f8826e

Browse files
authored
Update count-palindromic-subsequences.cpp
1 parent 3ab8c8a commit 5f8826e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/count-palindromic-subsequences.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Time: O(10^(l/2) * n), l = 5
22
// Space: O(10^(l/2) * n)
33

4-
// prefix sum
4+
// freq table, prefix sum
55
class Solution {
66
public:
77
int countPalindromes(string s) {

0 commit comments

Comments
 (0)