Skip to content

Commit e9ae98c

Browse files
refactor 7
1 parent 98a399e commit e9ae98c

File tree

1 file changed

+2
-0
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+2
-0
lines changed

src/main/java/com/fishercoder/solutions/_7.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
public class _7 {
2525

2626
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].*/
2729
public int reverse(int x) {
2830
long result = 0;
2931
while (x != 0) {

0 commit comments

Comments
 (0)