摘要: Hard 4. 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 阅读全文
posted @ 2017-12-14 22:21 AAlion 阅读(106) 评论(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-12-08 18:48 AAlion 阅读(113) 评论(0) 推荐(0)
摘要: Leetcode 2. Add Two Numbers You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order an 阅读全文
posted @ 2017-12-07 23:02 AAlion 阅读(96) 评论(0) 推荐(0)
摘要: Leetcode 1.Two Sum Problem: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should 阅读全文
posted @ 2017-12-05 17:42 AAlion 阅读(87) 评论(0) 推荐(0)