/* * linux/boot/head.S * * Copyright (C) 1991,
1992 Linus Torvalds *//* * head.S contains the 32-bit startup code.
*/.text.globl _idt,_gdt,.globl ...
分类:
其他好文 时间:
2014-06-06 15:11:14
阅读次数:
417
Tutorial The Kithara ?RealTime Suite? (KRTS) is
a real-time extension for Windows, which currently contains more than 20
different functional modules....
分类:
其他好文 时间:
2014-06-06 10:38:26
阅读次数:
748
Given a sorted linked list, delete all nodes
that have duplicate numbers, leaving onlydistinctnumbers from the original
list.For example,Given1->2->3-...
分类:
其他好文 时间:
2014-06-06 06:57:18
阅读次数:
271
Listener是一个接口An event listener is an interface in
theViewclass that contains a single callback method. These methods will be
called by the Android fra...
分类:
其他好文 时间:
2014-06-02 21:33:20
阅读次数:
265
【题目】原文:1.3 Design an algorithm and write code
to remove the duplicate characters in a string without using any additional
buffer. NOTE: One or two add...
分类:
其他好文 时间:
2014-06-02 21:32:04
阅读次数:
284
今天做推断插入用到了MySQL中ON DUPLICATE KEY
UPDATE,如今Mark下面!假设你想做到数据库中没有数据的话插入数据、有数据的话更新数据,那么你能够选择ON DUPLICATE KEY UPDATE。ON
DUPLICATE KEY UPDATE可以在UNIQUE索引或PRIM...
分类:
数据库 时间:
2014-06-02 18:04:36
阅读次数:
277
在探讨Java组合模式之前,先要明白几个概念的区别:继承、组合和聚合。继承是is-a的关系。组合和聚合有点像,有些书上没有作区分,都称之为has-a,有些书上对其进行了较为严格区分,组合是contains-a关系,聚合是has-a关系。组合方式中被组合的对象生命周期不能超过整体,一般写代码时是直接在...
分类:
其他好文 时间:
2014-06-02 12:52:24
阅读次数:
224
【题目】
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 node's key.
The right subtree of a node contains only nodes with ke...
分类:
其他好文 时间:
2014-06-02 10:29:55
阅读次数:
257
【题目】
Given a collection of integers that might contain duplicates, S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.
The solution set must not contain duplicate subsets.
For example,
If S = [1,2,2], a solution ...
分类:
其他好文 时间:
2014-06-01 08:51:06
阅读次数:
292
【题目】
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
For example,
Given 1->2->3->3->4->4->5, return 1->2->5.
Given 1->1->1->2->3, return 2->3.
【题意】
给定一个有序链表,删出其中重复出现的值...
分类:
其他好文 时间:
2014-05-31 21:14:11
阅读次数:
333