码迷,mamicode.com
首页 >  
搜索关键字:assume    ( 1858个结果
UVA 644- Immediate Decodability (寻找是否有相同前缀)
Immediate Decodability  An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We will assume for this...
分类:其他好文   时间:2014-12-27 17:42:22    阅读次数:186
[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 nodes with keys less than the nod...
分类:其他好文   时间:2014-12-27 17:34:02    阅读次数:236
[LeetCode]Compare Version Numbers
Compare two version numbers version1 and version1. If version1 > version2 return 1, if version1 version2 return -1, otherwise return 0. You may assume that the version strings are non-empty and co...
分类:其他好文   时间:2014-12-27 09:01:59    阅读次数:150
[LeetCode]Majority Element
Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times. You may assume that the array is non-empty and the majority element ...
分类:其他好文   时间:2014-12-26 23:03:33    阅读次数:606
【leetcode】Sudoku Solver
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 the...
分类:其他好文   时间:2014-12-26 22:51:46    阅读次数:266
X86汇编将寄存器中的内容以十进制输出
1 code segment 2 assume cs:code 3 strart: 4 mov ax ,1234 ;将要输出的数字 5 or ax , ax 6 jz zero ...
分类:其他好文   时间:2014-12-26 22:51:33    阅读次数:252
汇编语言 demo1,2,3
1 assume cs:codesg 2 3 data segment 4 ;yellow 5 db 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1 6 data ends 7 8 stack segment 9 dw 16 dup ...
分类:编程语言   时间:2014-12-26 21:38:50    阅读次数:127
汇编语言 实验12
1 assume cs:code 2 3 code segment 4 start: 5 mov ax,code 6 mov ds,ax 7 mov si,offset do0 8 mov ax,0 9 mov es...
分类:编程语言   时间:2014-12-26 21:36:36    阅读次数:287
[leetcode]Majority Element
问题描述: Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times. You may assume that the array is non-empty and the majority el...
分类:其他好文   时间:2014-12-26 20:19:14    阅读次数:218
leetcode majority elements
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...
分类:其他好文   时间:2014-12-26 14:17:49    阅读次数:173
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!