2017年9月10日

Leetcode c语言-String to Integer (atoi)

摘要: Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please do... 阅读全文

posted @ 2017-09-10 21:45 sichenzhao 阅读(203) 评论(0) 推荐(0) 编辑

Leetcode c语言-Reverse Integer

摘要: Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321click to show spoilers.Note:The input is assu... 阅读全文

posted @ 2017-09-10 21:40 sichenzhao 阅读(132) 评论(0) 推荐(0) 编辑

Leetcode c语言-ZigZag Conversion

摘要: Title:The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pa... 阅读全文

posted @ 2017-09-10 10:20 sichenzhao 阅读(400) 评论(0) 推荐(0) 编辑

导航