摘要: 【题目】LeetCode(6): ZigZag ConversionURL: https://leetcode.com/problems/zigzag-conversion/【描述】The string"PAYPALISHIRING"is written in a zigzag pattern on... 阅读全文
posted @ 2015-09-14 03:59 RockIt 阅读(592) 评论(0) 推荐(0) 编辑
摘要: 【题目】LeetCode(5): Longest Palindromic SubstringURL: https://leetcode.com/problems/longest-palindromic-substring/【描述】Given a stringS, find the longest p... 阅读全文
posted @ 2015-09-07 04:26 RockIt 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 【题目】LeetCode(2): Add Two NumbersURL: https://leetcode.com/problems/add-two-numbers/【描述】You are given two linked lists representing two non-negative nu... 阅读全文
posted @ 2015-09-05 09:55 RockIt 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 【题目】Two Sum【描述】Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indice... 阅读全文
posted @ 2015-09-05 09:24 RockIt 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 【题目】Median of Two Sorted Arrays【描述】There are two sorted arraysnums1andnums2of size m and n respectively. Find the median of the two sorted arrays. The... 阅读全文
posted @ 2015-09-05 08:50 RockIt 阅读(2117) 评论(1) 推荐(1) 编辑