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 98a399e commit e9ae98cCopy full SHA for e9ae98c
src/main/java/com/fishercoder/solutions/_7.java
@@ -24,6 +24,8 @@
24
public class _7 {
25
26
public static class Solution1 {
27
+ /**This solution is NOT meeting the problem requirement actually:
28
+ * Assume we are dealing with an environment which could only store integers within the 32-bit signed integer range: [−231, 231 − 1].*/
29
public int reverse(int x) {
30
long result = 0;
31
while (x != 0) {
0 commit comments