摘要:
题目说明: Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return –321 程序代码: #include using namespace std; int reverse2(int x) { int result[20] = {0}; ... 阅读全文
摘要:
题目说明: 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 for better legibility) P A H N A P ... 阅读全文