自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 树的相关题目

五.树5.1二叉树的遍历 分别写出递归和迭代版本*5.1.1.先序优先遍历 Binary Tree Preorder Traversal递归版本class Solution { public: vector<int> preorderTraversal(TreeNode *root) { vector<int > ret; helper(ret,ro

2015-10-30 23:45:00 286

原创 文章标题

-- 复习一下网易云课堂页面架构课程1 Reset相关浏览器原来会有一些样式,会导致页面有一定的原始效果,比如body 元素会有如下原始样式(基于chrome,不同浏览器会有不同样式) body{ display: block; margin: 8px }要将body 的原始样式清除掉,需要 body{ margin:0; }例如h1 有如下原始特性

2015-10-30 23:11:41 239

原创 文章标题

my name is jamsint main(){ int a =0; } 布局display 设置元素的显示方式display: block| inline | inline-block|none1. display:block 例如:   div p h1-h6 ul form默认宽度为父元素宽度可设置宽高换行显示 (前后都换)2. display:inline默认宽度为内容宽度 span

2015-10-30 22:01:22 215

原创 node.js_in_practice(intermediate)

Node.js in practice(intermediate)1. Node Foundations1.1 Features of node.js 非阻塞I/O none-blocking IO 利于爬虫 与JSON 配合的很好 nodejs 主要特性 node.js 的标准库由两部分构成 binary libraries 与 core modulesbinary libraries 为二

2015-10-28 21:00:16 487

原创 Node.js in practice 笔记

Node.js in practice1. Node Foundations1.1 Features of node.js 非阻塞I/O none-blocking IO 利于爬虫 与JSON 配合的很好 nodejs 主要特性 node.js 的标准库由两部分构成 binary libraries 与 core modulesbinary libraries 为二进制文件 core modul

2015-10-27 23:58:41 420

原创 文章标题

HTML5标签(空格分隔): 未分类页面结构1.section 用于将任意的逻辑分区,如产品描述,文章的章,讨论区 arctile 用于使文档各部分可独立分发<!DOCTYPE html> <meta charset="utf-8"/> <body> <article> <section id="mixing"> <h2>The proper way to m

2015-10-27 20:02:44 281

原创 node

node.js  Foundation.wiz-todo, .wiz-todo-img {width: 16px; height: 16px; cursor: default; padding: 0 10px 0 2px; vertical-align: -10%;-webkit-user-select: none;} .wiz-todo-label { display: inline-blo

2015-10-27 18:22:26 276

原创 IO

/* * FileInputStream 用于读取诸如图像数据之类的原始字节流。要读取字符流,请考虑使用 FileReader * FileInputStream 两种常用的构造法1.指定文件的路径名2指定文件 File * 只有 read 一种读取方法 * * 示例: 读取图片 */ import java.io.* ; public class FileStreamTest

2014-10-07 10:34:20 292

原创 Two sum

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 numbers such that they add up to the target, whe

2014-10-06 22:29:46 301

原创 string对象的定义与操作

1.string 对象的定义     四种初始化方式 string s1; string s1(s2); string s1("values"); string s1(n,'c');   string类型操作符与getline函数对空白字符的处理 区别:string忽略空白字符,并在遇到空白字符时停止读入,而getline函数将空白字符作为字符串的一部分,在遇到换行符时才停止读如

2013-10-02 11:12:36 594

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除