
leetcode
JasonChenCoder
To be best and love life
展开
-
LeetCode 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 pattern in a fixed font for better legibility)P A H NA P ...原创 2019-05-06 18:09:15 · 287 阅读 · 0 评论 -
11. Container With Most Water
11.Container With Most WaterGivennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of lineiis ...原创 2019-05-27 14:49:12 · 106 阅读 · 0 评论