
leetcode
Johnny__Jiang
这个作者很懒,什么都没留下…
展开
-
leetcode ZigZag Conversion 解题报告
题目地址:https://leetcode.com/problems/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 fix...原创 2019-06-02 01:56:07 · 198 阅读 · 0 评论 -
leetcode 16. 3Sum Closest
leetcode 16. 3Sum Closest题目链接:input:output:特殊情况:解题思路code题目链接:https://leetcode.com/problems/3sum-closest/input:nums = [-1, 2, 1, -4],target= 1output:2 即 (-1 + 2 + 1 = 2).特殊情况:输入列表中包含重复值,如nums...原创 2019-06-03 00:48:58 · 221 阅读 · 0 评论