From e02d236fe40a71bcb559fd565c2e3fe48383e995 Mon Sep 17 00:00:00 2001 From: kamyu Date: Sun, 16 Sep 2018 20:36:04 +0800 Subject: [PATCH] Update prime-palindrome.cpp --- C++/prime-palindrome.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {