We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 831686b commit 0080a66Copy full SHA for 0080a66
C++/k-th-symbol-in-grammar.cpp
@@ -1,4 +1,4 @@
1
-// Time: O(logn)
+// Time: O(logn) = O(1) because n is 32-bit integer
2
// Space: O(1)
3
4
class Solution {
0 commit comments