Shortest-LeetCode-Python-Solutions
Shortest-LeetCode-Python-Solutions copied to clipboard
Leet Code 刷题笔记 - - 不求最快最省,但求最短最优雅,Shorter is better here.
Results
1
Shortest-LeetCode-Python-Solutions issues
Sort by
recently updated
recently updated
newest added
9. ```py class Solution: def isPalindrome(self, x: int) -> bool: return (k:=str(x)) == k[::-1] ``` ~~字符数好像还多了~~