上一页 1 ··· 14 15 16 17 18
  2014年10月11日
摘要: Problem: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... 阅读全文
posted @ 2014-10-11 23:29 higerzhang 阅读(342) 评论(0) 推荐(0) 编辑
  2014年10月10日
摘要: Problem:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique lo... 阅读全文
posted @ 2014-10-10 23:49 higerzhang 阅读(299) 评论(0) 推荐(0) 编辑
  2014年10月9日
摘要: Problem:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a... 阅读全文
posted @ 2014-10-09 23:44 higerzhang 阅读(212) 评论(0) 推荐(0) 编辑
  2014年10月8日
摘要: Problem:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating le... 阅读全文
posted @ 2014-10-08 23:51 higerzhang 阅读(422) 评论(0) 推荐(0) 编辑
  2014年10月7日
摘要: Problem:There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh... 阅读全文
posted @ 2014-10-07 23:10 higerzhang 阅读(412) 评论(0) 推荐(0) 编辑
  2014年9月30日
摘要: Problem:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of th... 阅读全文
posted @ 2014-09-30 21:44 higerzhang 阅读(387) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18