- 博客(8)
- 收藏
- 关注
原创 世界是数字的(三)
互联网互联网并不是一个巨型网络,更不是一台计算机。他由定义了网络和其中的计算机相互通信规则的标准连接在一起,是一个松散的、非结构化的、混乱、自组织的网络集合如何才能把光纤网、以太网、无线网等不同的物理属性的网络连接起来,甚至比他们之间相隔很远时也能联通?我们需要在间接相连的网络之间找到通信路径,需要就信息采用何种格式传输达成协议,需要在错误处理、时延、过载等一些不太容易想到的问题上达成协议。没有这些
2015-12-30 14:34:27 465
原创 世界是数字的(二)
网络带宽是最基本的一个特性,他描述的是通信系统的传输数据的速度。延迟衡量的是特定信息块通过系统所需要的时间。抖动,即延迟的可变性。信程指的是某种技术能够在多大的地理范围内实现联网。在家庭中,电话系统传送模拟的声音信号,不传送数据。因此,必须有一种设备来实现数字化信息和模拟的声音之间的转换,才能利用电话网络传输数据。改变通过声音信号传输的信息形式叫调制。相反,把这种形式再转换成比特叫解调。最大带宽不过
2015-12-29 15:42:35 432
原创 世界是数字的(一)
操作系统怎么工作标签(空格分隔): 操作系统操作系统控制和分配计算机资源。首先,它负责管理CPU,调度和协调当前运行的程 序。它控制CPU 在任意时刻执行的程序,包括应用程序和后台进程(如杀毒软件和 检查更新的程序)。它会将一个暂时等待的程序(比如等待用户在上面单击的对话框) 挂起。它会阻止个别程序多占资源。如果一个程序占用CPU 时间太多,操作系统会 强行将其中断以便其他任务得以正常执行。
2015-12-29 00:57:00 658
原创 225. Implement Stack using Queues
Implement the following operations of a stack using queues.push(x) – Push element x onto stack. pop() – Removes the element on top of the stack. top() – Get the top element. empty() – Return whether
2015-12-24 17:26:59 345
原创 232. Implement Queue using Stacks
Implement the following operations of a queue using stacks.push(x) – Push element x to the back of queue. pop() – Removes the element from in front of queue. peek() – Get the front element. empty()
2015-12-23 22:00:14 294
原创 155. Min Stack
Min StackDesign a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) – Push element x onto stack. pop() – Removes the element on top of the stack. top()
2015-12-23 16:46:40 378
原创 237. Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third node with value
2015-12-23 10:35:37 265
原创 数组名与指针
char ga[] = "aaa";int main(int argc, char** argv){ printf("addr of global array = %#x \n", ga); printf("addr of global array = %#x \n", &ga); return 0;}addr of global array = 0x804c07c
2015-12-06 15:43:25 335
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人