码迷,mamicode.com
首页 >  
搜索关键字:assume    ( 1858个结果
[Leetcode] Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:其他好文   时间:2014-11-02 07:03:37    阅读次数:177
LeetCode 36 Sudoku Solver
Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indicated by the character '.'. You may assume that there will be only one unique solution. A sudoku puzzle....
分类:其他好文   时间:2014-11-01 21:52:53    阅读次数:250
LeetCode: solveSudoku 解题报告
Sudoku SolverWrite a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that th...
分类:其他好文   时间:2014-11-01 21:39:57    阅读次数:203
LeetCode:Find Minimum in Rotated Sorted Array
题目描述: Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find the minimum element. You may assume no duplicate...
分类:其他好文   时间:2014-10-31 11:57:17    阅读次数:201
汇编模拟钢琴
;比较low的钢琴ASSUME CS:CODE,DS:DATA,SS:STACKDATA SEGMENT ;设置键盘区位 ;中音区 A: 7 S: 8 D: 9 F:10 J:11 K:12 L:13 ;高音区 Q:14 W:15 E:16 R:17 U:18 I:19...
分类:其他好文   时间:2014-10-30 20:54:15    阅读次数:234
【LeetCode】3Sum Closest 解题报告 (Java)
【题目】 Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would ha...
分类:编程语言   时间:2014-10-30 17:02:57    阅读次数:249
Merge Sorted Array 混合插入有序数组
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:编程语言   时间:2014-10-29 16:22:58    阅读次数:209
LeetCode Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array. Note: You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements from B...
分类:其他好文   时间:2014-10-29 14:59:27    阅读次数:180
Radar Installation(贪心)
Radar Installation Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 54295   Accepted: 12208 Description Assume the coasting is an infinite straight line. Land i...
分类:其他好文   时间:2014-10-28 13:58:11    阅读次数:281
LeetCode:Search Insert Position
问题描述: 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 order. You may assume no duplicates in...
分类:其他好文   时间:2014-10-28 12:19:51    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!