摘要: 题目: There are two sorted arraysnums1andnums2of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity s... 阅读全文
posted @ 2015-10-03 20:07 朱菜根 阅读(473) 评论(0) 推荐(0)
摘要: 题目: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating lette... 阅读全文
posted @ 2015-10-02 01:44 朱菜根 阅读(170) 评论(0) 推荐(0)
摘要: 题目: 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 s... 阅读全文
posted @ 2015-10-01 13:51 朱菜根 阅读(192) 评论(0) 推荐(0)
摘要: 题目: 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 the... 阅读全文
posted @ 2015-09-30 22:35 朱菜根 阅读(155) 评论(0) 推荐(0)