上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 37 下一页
摘要: Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from l... 阅读全文
posted @ 2015-10-05 21:15 小金乌会发光-Z&M 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 实时操作系统(Real Time Operating System)是指当外界事件或数据产生时,能够接受并以足够快的速度予以处理,其处理的结果又能在规定的时间之内来控制生产过程或对处理系统做出快速响应,调度一切可利用的资源完成实时任务,并控制所有实时任务协调一致运行的操作系统。提供及时响应和高可靠性... 阅读全文
posted @ 2015-10-05 16:24 小金乌会发光-Z&M 阅读(2453) 评论(0) 推荐(0) 编辑
摘要: 所有的并发处理都有排队等候,唤醒,执行至少三个这样的步骤.所以并发肯定是宏观概念,在微观上他们都是序列被处理的,只不过资源不会在某一个上被阻塞(一般是通过时间片轮转),所以在宏观上看多个几乎同时到达的请求同时在被处理。如果是同一时刻到达的请求也会根据优先级的不同,而先后进入队列排队等候执行。 并发... 阅读全文
posted @ 2015-10-05 15:50 小金乌会发光-Z&M 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 简单区别:final用于声明属性,方法和类,分别表示属性不可交变,方法不可覆盖,类不可继承。finally是异常处理语句结构的一部分,表示总是执行。finalize是Object类的一个方法,在垃圾收集器执行的时候会调用被回收对象的此方法,供垃圾收集时的其他资源回收,例如关闭文件等。中等区别:虽然这... 阅读全文
posted @ 2015-10-04 21:52 小金乌会发光-Z&M 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1.快速打开运行 win+R 几个运行实用命令 notepad 打开记事本 mspaint 画图板 calc 启动计算器 compmgmt.msc 计算机管理 odbcad32 ODBC数据源管理器 magnify 放大镜实用程序 regedit 注册表 osk 打开屏幕键盘 services.ms 阅读全文
posted @ 2015-10-04 21:11 小金乌会发光-Z&M 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Linux下对文件操作有两种方式:系统调用(system call)和库函数调用(Library functions)。系统调用实际上就是指最底层的一个调用,在linux程序设计里面就是底层调用的意思。面向的是硬件。而库函数调用则面向的是应用开发的,相当于应用程序的api,采用这样的方式有很多种原... 阅读全文
posted @ 2015-10-02 21:11 小金乌会发光-Z&M 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest... 阅读全文
posted @ 2015-09-28 22:23 小金乌会发光-Z&M 阅读(420) 评论(0) 推荐(0) 编辑
摘要: Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express... 阅读全文
posted @ 2015-09-28 20:33 小金乌会发光-Z&M 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 今天学习廖老师的python教程,碰到了修饰符'@',不太了解,查看了下官方文档。简单的整理下:@dec2@dec1def func(arg1, arg2, ...): pass 等价于def func(arg1, arg2, ...): passfunc = dec2(dec1(fun... 阅读全文
posted @ 2015-09-12 22:30 小金乌会发光-Z&M 阅读(977) 评论(0) 推荐(0) 编辑
摘要: Given two sorted integer arraysnums1andnums2, mergenums2intonums1as one sorted array.Note:You may assume thatnums1has enough space (size that is great... 阅读全文
posted @ 2015-08-17 21:41 小金乌会发光-Z&M 阅读(153) 评论(0) 推荐(0) 编辑
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 37 下一页