leetcode
tiny_red
这个作者很懒,什么都没留下…
展开
-
leetcode: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 have exactly one solution, and you may not use the sam原创 2017-12-23 18:19:37 · 100 阅读 · 0 评论 -
leetcode:Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return原创 2017-12-23 18:36:00 · 80 阅读 · 0 评论 -
leetcode: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 overall run time complexity should be O(log (m+n)).Example 1:nums1 =原创 2017-12-23 18:59:09 · 131 阅读 · 0 评论