摘要:
题目链接 题目要求: 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 ... 阅读全文
posted @ 2015-06-17 16:54
峰子_仰望阳光
阅读(403)
评论(0)
推荐(0)
摘要:
题目链接 题目要求: Rotate an array ofnelements to the right byksteps. For example, withn= 7 andk= 3, the array[1,2,3,4,5,6,7]is rotated to[5,6,7,1,2,3,4]... 阅读全文
posted @ 2015-06-17 14:48
峰子_仰望阳光
阅读(203)
评论(0)
推荐(0)
摘要:
题目链接 题目要求: Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any... 阅读全文
posted @ 2015-06-17 14:07
峰子_仰望阳光
阅读(407)
评论(0)
推荐(0)

浙公网安备 33010602011771号