mirror of
https://github.com/Manoj-HV30/dsa-competitive-programming.git
synced 2026-05-16 19:35:22 +00:00
Leetcode day 2 and 3
This commit is contained in:
@@ -9,6 +9,6 @@ class Solution{
|
||||
rev = (rev*10) + (x%10);
|
||||
x/=10;
|
||||
}
|
||||
return ( x==rev || x = rev/10);
|
||||
return ( x==rev || x == rev/10);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user