You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -512,7 +512,7 @@ Your ideas/fixes/algorithms are more than welcome!
512
512
|12|[Integer to Roman](https://leetcode.com/problems/integer-to-roman/)|[Solution](../master/src/main/java/com/fishercoder/solutions/IntegertoRoman.java)|O(1)|O(1)|Medium|
513
513
|11|[Container With Most Water](https://leetcode.com/problems/container-with-most-water/)|[Solution](../master/src/main/java/com/fishercoder/solutions/ContainerWithMostWater.java)|O(n)|O(1)|Medium|
|8|[String to Integer (atoi)](https://leetcode.com/problems/string-to-integer-atoi/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_8.java)| O(n) | O(1) | Medium
Copy file name to clipboardExpand all lines: src/main/java/com/fishercoder/solutions/_9.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
You could also try reversing an integer. However, if you have solved the problem "Reverse Integer", you know that the reversed integer might overflow. How would you handle such case?
11
11
12
12
There is a more generic way of solving this problem.*/
13
-
publicclassPalindromeNumber {
13
+
publicclass_9 {
14
14
15
15
/**Purely my original solution: just reverse the entire number and compare with itself, return if they two are equal or not.*/
0 commit comments