码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
linux 用蓝牙和手机通信
加载模块: 查看状况: # hciconfig -ahci0: Type: USB BD Address: 00:10:60:A3:68:9F ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:1860 acl:10 sco:0 ...
分类:移动开发   时间:2017-06-15 14:21:30    阅读次数:207
234. Palindrome Linked List
Problem statement Given a singly linked list, determine if it is a palindrome. Follow up: Could you do it in O(n) time and O(1) space? Solution This i ...
分类:其他好文   时间:2017-06-15 12:52:42    阅读次数:150
141. Linked List Cycle
Problem statement Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? Solution This is a cl ...
分类:其他好文   时间:2017-06-15 12:38:22    阅读次数:148
H3C和CISCO快速端口比较
CISCO portfast这个是用于接入口的,一个正常的交换接口从down到up要经过:Down,listening,learning,fowarding几个状态,一共耗时为30秒,从而决定此端口是blocking还是fowarding的,也是交换机的防止环路的机制。但是对于直接接入这样的终端设备的接口就没有必要经过这几步了,..
分类:系统相关   时间:2017-06-15 10:41:05    阅读次数:267
009实现一个算法来删除单链表中的一个结点,仅仅给出指向那个结点的指针(keep it up)
呵呵,这个题不能直接删除已知的结点。由于是单链表,不知道前驱,仅仅知道 后继结点,直接删除会使链表断开。只是我们能够删除已知结点的后继结点, 把后继结点的值赋值给已知结点。 #include <iostream> struct Node { int data; Node* next; }; bool ...
分类:编程语言   时间:2017-06-15 10:32:42    阅读次数:137
服务器排错命令
监控命令who用户名登录终端(tty本地终端pts1远程终端登录时间远程登录地址)w:监视用户uptime:显示第一行1.系统当前时间2.up多久没关机了3.4users有多少用户登录了5.loadaverage1分钟5分钟15分钟的负载均衡,主要指CPU和内存的负载情况5.IDLE用户空闲时间6.JCPU累计占用时间..
分类:其他好文   时间:2017-06-15 00:34:54    阅读次数:248
poj 1087 A Plug for UNIX(字符串编号建图)
A Plug for UNIX Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14862 Accepted: 5026 Description You are in charge of setting up the press ...
分类:其他好文   时间:2017-06-14 21:06:10    阅读次数:265
Pintos Project1的同步问题
Pintos的官方文档很明显假设这个OS是运行在单cpu上,从sema_up等函数是通过禁止中断来保证原子性和解决竞争问题中也能看到这点。 因为在多cpu上是不能通过禁止中断来解决同步问题,多个线程在多个cpu上仍有可能在临界区改变同一个共享变量。 通过禁止中断是可以解决所有竞争问题,但是可能会带来 ...
分类:其他好文   时间:2017-06-14 14:32:52    阅读次数:296
Path SumI、II——给出一个数,从根到子的和等于它
I、Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. ...
分类:其他好文   时间:2017-06-14 14:19:49    阅读次数:208
LeetCode_1 TwoSum
看书尽管有必要,可是光看书大家斗志到是无用的,可是没办法。科研项目和互联网没关,仅仅能找点题目来刷了! 不多说。開始! LeetCode_1 TwoSum 题目说明: Given an array of integers, find two numbers such that they add up ...
分类:其他好文   时间:2017-06-14 12:53:35    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!