posted @ 2015-05-12 15:56 Reynold Liu 阅读(8111) 评论(0) 推荐(0) 编辑
摘要:
想给自己的ubuntu换N卡驱动的原因: 一方面,由于自己电脑在编译源代码8线程全开(make -j8)时,CPU温度呼呼涨到八九十度,从而常常导致系统保护自动关机,让人有点不爽。网上有说ubuntu的图形化界面兼容性不好,消耗了一部分CPU的能力; 另一方,后续需要用CUDA,配好N卡驱动... 阅读全文
摘要:
[操 作 系 统] Ubuntu 14.04 LTS[OpenCV版本] 3.0.0-beta[Eclipse 版 本] 3.8.1需要知识:Linux系统shell命令基础编译原理基础知识,预编译->编译->汇编->链接make 、cmake知识IDE使用经验gcc,g++编译... 阅读全文
posted @ 2015-04-15 15:41 Reynold Liu 阅读(16038) 评论(0) 推荐(0) 编辑
摘要:
[Description] Given two different strings, find the largest successive common substring.e.g. str1[]="qwertyuiopasdfgh"; str2[]="jhdfgqwertyudfxcv"; ... 阅读全文
posted @ 2014-11-09 11:47 Reynold Liu 阅读(216) 评论(0) 推荐(0) 编辑
摘要:
[Description] Given a string, find the largest unique substring.e.g. str[] = "asdfghjkkjhgf"; sub[] = "asd";[Thought] create an auxiliary space 'r... 阅读全文
posted @ 2014-11-09 10:45 Reynold Liu 阅读(171) 评论(0) 推荐(0) 编辑
摘要:
[Description]find the k-th node from the last node of single linked list.e.g. Linked-list: 1-2-3-4-5-6-7-8-9 the last 4th node is: 6[Thought] usin... 阅读全文
posted @ 2014-11-08 17:31 Reynold Liu 阅读(227) 评论(0) 推荐(0) 编辑
摘要:
[Description] Given an array with only '1' and '0', find a largest length sub-array which contains equal number of '1' and '0'. Return the largest num... 阅读全文
posted @ 2014-10-22 18:05 Reynold Liu 阅读(177) 评论(0) 推荐(0) 编辑
摘要:
[Description] Given a unsort linked list, delete all the duplication from them, no temporary space permission.[Thought] Set two points, from head to t... 阅读全文
posted @ 2014-10-22 16:04 Reynold Liu 阅读(177) 评论(0) 推荐(0) 编辑