Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2019-01-18 21:24:18
阅读次数:
198
Functional Requirements: Non Functional Requirements: 1.highly available. 2.with minimal latency. we assume we will have 500M new URL shortenings per ...
分类:
Web程序 时间:
2019-01-18 10:20:26
阅读次数:
442
记录被LeetCode虐的日子 第一种方法:使用枚举 / Note: The returned array must be malloced, assume caller calls free(). / int twoSum(int nums, int numsSize, int target) { ...
分类:
其他好文 时间:
2019-01-12 21:52:54
阅读次数:
293
一、题目要求 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would ...
分类:
其他好文 时间:
2019-01-12 00:21:24
阅读次数:
183
Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower case English letters in both sand t. t is pot ...
分类:
其他好文 时间:
2019-01-09 18:49:23
阅读次数:
188
;统计字符串长度 DATAS SEGMENT string db 'hello world demo0';待计算的字符串以0结尾 DATAS ends CODES SEGMENT ASSUME CS:CODES, DS:DATAS START: mov AX,DATAS mov DS,AX call... ...
分类:
其他好文 时间:
2019-01-09 13:35:51
阅读次数:
594
;小写变大写 DATAS SEGMENT DATAS ends CODES SEGMENT ASSUME CS:CODES, DS:DATAS START: mov AX,DATAS mov DS,AX call atA mov ah,4CH int 21h atA proc ;子程序 jmp dn... ...
分类:
其他好文 时间:
2019-01-09 13:30:37
阅读次数:
168
第一题:题目内容 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input woul ...
分类:
其他好文 时间:
2019-01-03 22:41:15
阅读次数:
179
汇编语言程序设计第5~8章小结: 第5章: 直接寻址和间接寻址问题: 直接寻址:mov dl,[0]; dl=((ds)*16+0)间接寻址:mov bx,0 mov dl,[bx];dl=((ds)*16+bx) assume cs:codecode segment mov ax,1 mov cx ...
分类:
编程语言 时间:
2019-01-03 16:48:58
阅读次数:
245
Given inorder and postorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:
其他好文 时间:
2019-01-01 11:14:07
阅读次数:
143