Skip to content

Commit eb590f4

Browse files
authored
Update Solution.java
1 parent 656ee15 commit eb590f4

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/g2401_2500/s2442_count_number_of_distinct_integers_after_reverse_operations

1 file changed

+1
-1
lines changed

src/main/java/g2401_2500/s2442_count_number_of_distinct_integers_after_reverse_operations/Solution.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public int countDistinctIntegers(int[] nums) {
1414
return set.size();
1515
}
1616

17-
private static int reverseInt(int num) {
17+
private int reverseInt(int num) {
1818
int ret = 0;
1919
while (num != 0) {
2020
ret = (num % 10) + ret * 10;

0 commit comments

Comments
 (0)