。 8 String to Integer (atoi) 13.9% Medium 。 151 Reverse Words in a String 15.7% Medium 。 288 Unique Word Abbreviation 15.8% Medium 。 29 Divide Two Int... ...
分类:
其他好文 时间:
2017-03-09 14:31:00
阅读次数:
279
原文:http://blog.csdn.net/haoel/article/details/1948051 一、简介 C++中的虚函数的作用主要是实现了多态的机制。虚函数(Virtual Function)其实是通过一张虚函数表(Virtual Table)来实现的。简称为V-Table。在这个表中 ...
分类:
编程语言 时间:
2017-03-09 13:15:03
阅读次数:
262
A day is a miniature of eternity. 一天是永恒的缩影。 My life is short, but I can make something eternal. What my life will be all depends on what I do every da ...
分类:
其他好文 时间:
2017-03-08 01:12:42
阅读次数:
144
Description Give a tree with n vertices,each edge has a length(positive integer less than 1001). Define dist(u,v)=The min distance between node u and ...
分类:
其他好文 时间:
2017-03-08 01:02:26
阅读次数:
232
Java 语言中提供的数组是用来存储固定大小的同类型元素。 声明数组变量 double[] myList; // 首选的方法 或 double myList[]; // 效果相同,但不是首选方法 创建数组 处理数组 数组的元素类型和数组的大小都是确定的,所以当处理数组元素时候,我们通常使用基本循环或 ...
分类:
编程语言 时间:
2017-03-07 17:00:06
阅读次数:
209
1,Git配置 2,生成密钥 $ ssh-keygen -t rsa -C "wanhua.wu@healthbok.com" 后面的可以不输入,自动生成到~/.ssh路径下面 生成密钥 $ cd ~/.ssh 查看密钥 : rsa 公钥:rsa.pub $ ssh -T git@github.co ...
分类:
其他好文 时间:
2017-03-07 14:05:36
阅读次数:
241
FASTX-Toolkit是一款用于处理Short-Reads FASTA/FASTQ文件的程序,里面包含了丰富的FASTA/FASTQ文件格式转换、统计等命令。软件下载地址:http://hannonlab.cshl.edu/fastx_toolkit/download.html 下面是其功能介绍 ...
分类:
其他好文 时间:
2017-03-07 08:57:21
阅读次数:
1617
Given a binary tree Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set toNULL. ...
分类:
其他好文 时间:
2017-03-07 08:20:53
阅读次数:
187
变量与函数声明 变量:变量就是用来储存数据(任何数据类型)的容器,这样脚本就可以通过变量的名称访问变量中储存的数据,如果没有为变量赋值,变量会保存--undefined,例如:var age;(也叫变量声明) ;变量又可以分为全局变量和局部变量。 函数声明:即定义函数的一种方式,另一种方式是函数表达 ...
分类:
编程语言 时间:
2017-03-07 08:20:41
阅读次数:
266