摘要:
Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321解法一:public class Solution { public int reverse(int x) { ... 阅读全文
摘要:
The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo... 阅读全文