HF_Cherish

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年7月14日

摘要: 1. 几点认识:java中有两类线程:user thread(用户线程),daemon thread(守护线程)守护线程为其他线程的运行提供服务,例如GC线程(垃圾回收线程),内存管理线程。虚拟机判断程序执行结束的标准时不考虑守护线程:如果user thread全部撤离,daemon thread因... 阅读全文
posted @ 2015-07-14 16:48 HF_Cherish 阅读(1226) 评论(0) 推荐(0) 编辑

摘要: 1. Question给定整型数组和target,找数组中的所有和为target的四个数,将其按值升序排列输出,输出结果不包含重复数对。Given an array S of n integers, are there elements a, b, c, and d in S such that a... 阅读全文
posted @ 2015-07-14 10:58 HF_Cherish 阅读(201) 评论(0) 推荐(0) 编辑