上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 24 下一页
摘要: 在gdb调试时segmentation fault问题时,遇到下面的了问题:Program received signal SIGABRT, Aborted.0x00007ffff73eb925 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/... 阅读全文
posted @ 2014-05-05 13:56 丶Blank 阅读(1023) 评论(0) 推荐(0) 编辑
摘要: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ... 阅读全文
posted @ 2014-04-29 10:51 丶Blank 阅读(189) 评论(0) 推荐(0) 编辑
摘要: The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number... 阅读全文
posted @ 2014-04-28 17:18 丶Blank 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a... 阅读全文
posted @ 2014-04-27 20:06 丶Blank 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo... 阅读全文
posted @ 2014-04-26 22:00 丶Blank 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu... 阅读全文
posted @ 2014-04-25 22:54 丶Blank 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Java中的transient,是用于声明序列化的时候不被存储的。例子:package ThreadTest;/** * Created with IntelliJ IDEA. * User: Blank * Date: 14-3-29 * Time: 下午12:03 */import java.io.*;import java.util.*;class Logon implements Serializable { private Date date = new Date(); private String username; private transient Strin... 阅读全文
posted @ 2014-03-29 12:14 丶Blank 阅读(1638) 评论(0) 推荐(0) 编辑
摘要: thread.Join把指定的线程加入到当前线程,可以将两个交替执行的线程合并为顺序执行的线程。比如在线程B中调用了线程A的Join()方法,直到线程A执行完毕后,才会继续执行线程B。t.join(); //调用join方法,等待线程t执行完毕t.join(1000); //等待 t 线程,等待时间是1000毫秒。下面是一段JDK中的代码: /** * Waits at most millis milliseconds for this thread to * die. A timeout of 0 means to wait forever. */... 阅读全文
posted @ 2014-03-28 20:58 丶Blank 阅读(75274) 评论(7) 推荐(3) 编辑
摘要: Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".Clarification:What constitutes a word?A sequence of non-space characters constitutes a word.Could the input string contain leading or trailing spaces?Yes. Howev 阅读全文
posted @ 2014-03-24 19:06 丶Blank 阅读(276) 评论(0) 推荐(0) 编辑
摘要: Shockwave Flash 是 Adobe Flash Player下的一个小插件,你可以在Google商店中找到并下载。通常来讲,Shckwave Flash会在安装Flash Player的时候自动开启,但是插件本身是不是会出点小问题(这里需要Adobe的技术人员来解决)。但是作为终端用户同样可以解决此类问题。1. 首先到Adobe官方网站下载最新的Flash Playerhttp://get2.adobe.com/flashplayer/并安装。2. 安装后打开Chrome,在地址栏内输入“Chrome://Plugins”,然后点击“Details”。3. 在Adobe Flash 阅读全文
posted @ 2014-03-22 20:50 丶Blank 阅读(10498) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 24 下一页