码迷,mamicode.com
首页 >  
搜索关键字:sorted lists    ( 7805个结果
Search Insert Position (LeetCode)
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:其他好文   时间:2014-07-16 23:16:32    阅读次数:156
leetcode - Remove Duplicates from Sorted List
题目:Remove Duplicates from Sorted ListGiven a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2...
分类:其他好文   时间:2014-07-10 14:29:45    阅读次数:259
[LeetCode] Search a 2D Matrix
Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from l...
分类:其他好文   时间:2014-07-10 12:37:21    阅读次数:189
web-project 故障修复功能 传递所有的event_id数据到后台
1 22 23 24 25 26 27 故障信息28 {% module Uptime() %}29 30 31 32 33 {% if lists != [] %}34 35 {% end %}36 37 {% for d in lists %...
分类:Web程序   时间:2014-07-10 12:19:55    阅读次数:150
[leetcode] Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.
分类:其他好文   时间:2014-07-10 00:18:17    阅读次数:278
Leetcode: Search for a Range
Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ord...
分类:其他好文   时间:2014-06-27 22:25:10    阅读次数:443
[leetcode] Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2014-06-27 12:21:24    阅读次数:215
[leetcode] Search in Rotated Sorted Array
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
分类:其他好文   时间:2014-06-27 12:11:09    阅读次数:181
LeetCode OJ - Median of Two Sorted Arrays
题目:There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should ...
分类:其他好文   时间:2014-06-27 11:55:43    阅读次数:187
LeetCode OJ - Add Two Numbers
题目:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a sing...
分类:其他好文   时间:2014-06-27 11:38:12    阅读次数:207
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!