码迷,mamicode.com
首页 >  
搜索关键字:plus one    ( 30610个结果
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 ele...
分类:其他好文   时间:2014-06-17 23:05:13    阅读次数:246
leetcode -day30 Reverse Linked List II
1、 ?? Reverse Linked List II  Reverse a linked list from position m to n. Do it in-place and in one-pass. For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2->5->NULL....
分类:其他好文   时间:2014-06-17 23:03:12    阅读次数:257
UML的基础元件之架构元件(三)
Structural Things An active class is a class whose objects own one or more processes or threads and therefore can initiate control activity. An active class is just like a class except that it...
分类:其他好文   时间:2014-06-17 22:44:27    阅读次数:310
Merge k Sorted Lists
题目 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 方法 使用归并排序的思想,两两合并,直到最终变成一个。 public ListNode mergeKLists(ArrayList lists) {...
分类:其他好文   时间:2014-06-17 21:34:41    阅读次数:183
摩托罗拉SE955 One Discrete Length,Two Discrete Lengths,Length Within Range 相关解释
motorola scanner datasheet相关解释(以下通过Simple Serial Interface(SSI)进行设置,非扫描官方datasheet的设置条码): One Discrete Length:一个单独的条码长度,就是扫描头设置以后,只支持指定的一个长度的条码,发送格式:指定的条码长度作为长度参数1的值,长度参数2的值设置为0x00即可(比如设置interlea...
分类:移动开发   时间:2014-06-17 19:33:52    阅读次数:296
linuxshell 实现自动清理rman备份文件的脚本
rman备份脚本 #! /bin/bash su - oracle rman target / backup AS COMPRESSED BACKUPSET   database include current controlfile format'/orabak/db_%d_%T_%s' plus archivelog format'/orabak/a...
分类:系统相关   时间:2014-06-17 19:33:13    阅读次数:348
Nucleus进程间通信(IPC)方式
实时操作系统Nucleus Plus提供了6种进程间通信方式,分别为:邮箱(mailboxes)、消息队列(queues)和管道(pipes)、信号量(semaphores)、事件集(event groups)和消息(signals)。前三者用于进程间通信,后三者用于进程同步,本文总结了Nucleus Plus进程间通信方式。...
分类:其他好文   时间:2014-06-17 19:19:14    阅读次数:268
UML的基本关联
?? First, a dependency is a semantic relationship between two model elements in which a change to one element (the independent one) may affect the semantics of the other element (the dependent on...
分类:其他好文   时间:2014-06-17 18:50:36    阅读次数:182
UML的通用机制(三)
?? Common Divisions In modeling object-oriented systems, the world often gets divided in several ways. First, there is the division of class and object. A class is an abstraction; an object is one ...
分类:其他好文   时间:2014-06-17 16:25:38    阅读次数:322
Leetcode: 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...
分类:其他好文   时间:2014-06-17 14:35:50    阅读次数:297
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!