class Solution:
def maximum69Number(self, num: int) -> int:
return int(str(num).replace('6', '9', 1)
leetcode
challenge
Here is the link for the problem:
https://leetcode.com/problems/maximum-69-number/
class Solution:
def maximum69Number(self, num: int) -> int:
return int(str(num).replace('6', '9', 1)
Here is the link for the problem:
https://leetcode.com/problems/maximum-69-number/
For further actions, you may consider blocking this person and/or reporting abuse
Pragati Verma -
Mehr Muhammad Hamza -
Wesley Chun (@wescpy) -
Furkan Gözükara -
Top comments (0)