Skip to content

Commit 19dc1a7

Browse files
refactor 7
1 parent 53910be commit 19dc1a7

File tree

1 file changed

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

1 file changed

+0
-21
lines changed

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

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 7. Reverse Integer
5-
6-
Given a 32-bit signed integer, reverse digits of an integer.
7-
8-
Example 1:
9-
Input: 123
10-
Output: 321
11-
12-
Example 2:
13-
Input: -123
14-
Output: -321
15-
16-
Example 3:
17-
Input: 120
18-
Output: 21
19-
20-
Note:
21-
Assume we are dealing with an environment which could only store integers within the 32-bit signed integer range: [−231, 231 − 1].
22-
For the purpose of this problem, assume that your function returns 0 when the reversed integer overflows.
23-
*/
243
public class _7 {
254

265
public static class Solution1 {

0 commit comments

Comments
 (0)