
Leetcode
bingoplus
无人驾驶
展开
-
Leetcode---1.Two Sum
Description: Given an array of integers, return indices of the two numbers such that they add up to a specific target. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2原创 2017-10-02 17:48:39 · 251 阅读 · 0 评论 -
Leetcode---4.Median of Two Sorted Arrays
Description: 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: nu原创 2017-10-03 21:43:42 · 360 阅读 · 0 评论 -
Leetcode---2.Add Two Numbers
Description: 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原创 2017-10-02 20:11:36 · 271 阅读 · 0 评论 -
LeetCode---5. Longest Palindromic Substring
Description: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Input: “babad” Output: “bab” Note: “aba” is also a valid an原创 2017-10-11 17:12:10 · 331 阅读 · 0 评论