Skip to content

Commit 777249c

Browse files
authored
Update reverse-integer.py
1 parent bb8dc30 commit 777249c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/reverse-integer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Time: O(logn)
1+
# Time: O(logn) = O(1)
22
# Space: O(1)
33
#
44
# Reverse digits of an integer.

0 commit comments

Comments
 (0)