diff --git a/C++/prime-palindrome.cpp b/C++/prime-palindrome.cpp index c869a3942..839e0db85 100644 --- a/C++/prime-palindrome.cpp +++ b/C++/prime-palindrome.cpp @@ -1,4 +1,4 @@ -// Time: O(n^(3/2)) +// Time: O(n^(1/2) * (logn + n^(1/2))) // Space: O(logn) class Solution {