LeetCode
文章平均质量分 83
Captain_J
这个作者很懒,什么都没留下…
展开
-
[ LeetCode ] - 136. Single Number 解答
原题目: Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without原创 2016-09-20 16:57:55 · 350 阅读 · 0 评论 -
[ LeetCode ]- 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 pattern in a fixed font for better legibility) P A H N A原创 2016-09-17 16:58:50 · 318 阅读 · 0 评论