码迷,mamicode.com
首页 >  
搜索关键字:assume    ( 1858个结果
CTCI 2.7
Implement a function to check if a linked list is a palindrome.Reverse the second half of the list and then compare it with the first half./* Assume t...
分类:其他好文   时间:2014-07-09 14:25:04    阅读次数:176
汇编入门学习笔记 (五)—— 包含多个段的程序
疯狂的暑假学习之  汇编入门学习笔记 (五)—— 包含多个段的程序 参考: 《汇编语言》 王爽 第6章 1.在代码中使用数据。 assume cs:code code segment dw 0123h,0456h,0789h,0defh mov ax,0 mov bx,0 mov ax,4c00H int 21h code ends end...
分类:其他好文   时间:2014-07-08 18:16:07    阅读次数:229
POJ 1328 Radar Installation
Radar Installation Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 50740   Accepted: 11394 Description Assume the coasting is an infinite straight line. Land...
分类:其他好文   时间:2014-07-08 15:17:58    阅读次数:186
Leetcode 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...
分类:其他好文   时间:2014-07-08 00:47:33    阅读次数:199
leetcode--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...
分类:其他好文   时间:2014-07-06 16:07:23    阅读次数:204
LeetCode——Longest Palindromic Substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 给定一个字符串S,找出其中的最长回文...
分类:其他好文   时间:2014-07-06 00:15:15    阅读次数:240
Leetcode 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...
分类:其他好文   时间:2014-07-05 21:45:00    阅读次数:202
Leetcode Construct Binary Tree from Inorder and Postorder Traversal
Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.class Solution...
分类:其他好文   时间:2014-07-03 20:25:21    阅读次数:219
Leetcode Construct Binary Tree from Preorder and Inorder Traversal
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.此题目有两种解决思路:1)递归...
分类:其他好文   时间:2014-07-03 20:07:01    阅读次数:199
汇编入门学习笔记 (三) —— 第一个程序
疯狂的暑假学习之  汇编入门学习笔记 (三)—— 第一个程序 参考:《汇编语言》 王爽  第四章 1.一个源程序从写到执行的过程 第一步:编写汇编源程序 第二步:对源程序进行编译连接 第三步:在操作系统中执行 2.源程序 代码: assume cs:first first segmen...
分类:其他好文   时间:2014-07-03 15:54:44    阅读次数:195
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!