![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
文章平均质量分 73
lc890213
这个作者很懒,什么都没留下…
展开
-
Median of Two Sorted Arrays
public class Solution { public double findMedianSortedArrays(int A[], int B[]) { // IMPORTANT: Please reset any member data you declared, as // the same Solution instance will be r原创 2013-12-24 12:07:03 · 282 阅读 · 0 评论 -
Search a 2D Matrix
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted from left to right.The first integer of each原创 2014-02-21 09:23:17 · 361 阅读 · 0 评论 -
Search Insert Position
Search Insert Position Total Accepted: 8665 Total Submissions: 25364My Submissions Given a sorted array and a target value, return the index if the target is found. If not, return the ind原创 2014-02-21 09:50:04 · 356 阅读 · 0 评论 -
Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. For example, Given 1->2->3->3->4->4->5, return 1->2->5. Given 1->1->1原创 2014-02-21 09:48:33 · 463 阅读 · 0 评论