码迷,mamicode.com
首页 >  
搜索关键字:assume    ( 1858个结果
(88) 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 equa...
分类:其他好文   时间:2015-02-11 18:09:29    阅读次数:159
153.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 mightbecome 4 5 6 7 0 1 2). Find the minimum element. You may assume no duplicate exists in the array...
分类:其他好文   时间:2015-02-11 09:27:00    阅读次数:166
leetcode[5]Longest Palindromic Substring
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2015-02-10 15:06:02    阅读次数:172
leetcode[37]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 on...
分类:其他好文   时间:2015-02-10 14:56:42    阅读次数:173
Git常用命令(二)
21. Git取消追踪某个文件 git update-index --assume-unchanged  22.恢复追踪某个文件 git update-index --no-assume-unchanged 23.设置.gitignore忽略文件 echo “*.o” >> .gitignore  # 添加需要忽略的文件 echo “/out” >>.gitignore...
分类:其他好文   时间:2015-02-09 18:30:49    阅读次数:146
leetcode[88]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...
分类:其他好文   时间:2015-02-09 15:32:58    阅读次数:146
leetcode[57]Insert Interval
Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initially...
分类:其他好文   时间:2015-02-09 15:29:45    阅读次数:161
leetcode[98]Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:其他好文   时间:2015-02-09 14:01:23    阅读次数:110
leetcode[169]Majority Element
Given an array of sizen, find the majority element. The majority element is the element that appears more than? n/2 ?times.You may assume that the arr...
分类:其他好文   时间:2015-02-09 00:45:03    阅读次数:179
王爽汇编语言第三版第5章实验4
第(3)小题下面的程序的功能是将“mov ax,4c00h”之前的指令复制到内存0:200处,补全程序。上机调试,跟踪运行结果。assume cs:codecode segment mov ax, cs ;cs为程序入口的段地址,我们就是要从这里开始复制 mov ds,ax mov ax,00...
分类:编程语言   时间:2015-02-08 19:22:24    阅读次数:291
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!