![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Leetcode
jieli4970
这个作者很懒,什么都没留下…
展开
-
1. 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 th原创 2017-12-11 10:07:44 · 146 阅读 · 1 评论 -
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. The overall run time complexity should be O(log (m+n)). Example 1: nums1 = [1,原创 2017-12-11 15:40:31 · 138 阅读 · 0 评论 -
65. Valid Number
class Solution { public boolean isNumber(String s) { //String test=s; //String test=" +11111.e+1 "; String re_rest=s; String test=re_rest.replace("-","+原创 2017-12-14 16:56:08 · 112 阅读 · 0 评论