摘要: Median of Two Sorted Arrays There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The ov 阅读全文
posted @ 2017-03-02 22:23 果洛 阅读(120) 评论(0) 推荐(0)
摘要: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng 阅读全文
posted @ 2017-02-23 21:32 果洛 阅读(123) 评论(0) 推荐(0)
摘要: Add Two Numbers You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes c 阅读全文
posted @ 2017-02-18 21:17 果洛 阅读(143) 评论(0) 推荐(0)
摘要: Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would 阅读全文
posted @ 2017-02-18 18:33 果洛 阅读(297) 评论(0) 推荐(0)