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 ea09762 commit abbe082Copy full SHA for abbe082
src/me/ramswaroop/bits/ReverseBits.java
@@ -63,6 +63,7 @@ public static int getNumberByReversingBitsV1(int n) {
63
* bits used to represent the number.
64
* <p/>
65
* Time complexity: O(log n) (as we are dividing 'n' by 2 in each iteration)
66
+ * Space Complexity: O(1)
67
*
68
* @param n
69
* @return
0 commit comments