摘要: 7. Reverse Integer Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 click to show spoilers. Note:The input i 阅读全文
posted @ 2017-10-08 23:18 hdu胡恩超 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 6. ZigZag Conversion The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pat 阅读全文
posted @ 2017-10-08 21:55 hdu胡恩超 阅读(118) 评论(0) 推荐(0) 编辑