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 cfb4e55 commit 13117b5Copy full SHA for 13117b5
Python/check-if-numbers-are-ascending-in-a-sentence.py
@@ -1,5 +1,5 @@
1
# Time: O(n)
2
-# Space: O(n)
+# Space: O(1)
3
4
class Solution(object):
5
def areNumbersAscending(self, s):
0 commit comments