Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree {3,...
分类:
其他好文 时间:
2014-08-17 15:32:12
阅读次数:
131
Learn of dictionary,simple example of dictionary in “Simple Python tutorial"---------------------------------------------------------#!/usr/bin/python...
分类:
编程语言 时间:
2014-08-17 15:25:32
阅读次数:
165
经常在页面中引用图片,html页面等,自己常常弄错相对路径和绝对路径,今天写下此文总结一下。 直接举例说明吧。 在 D:\例子\html下有这么几个文件和文件夹 1.若引用的资源和本身在同一路径下(既在同一目录下) 在example.html中引用tupian.gif 相对路径: 绝对路径:绝对的....
分类:
其他好文 时间:
2014-08-17 11:38:32
阅读次数:
210
Qt Quick应用开发介绍
Introduction to Application Development with Qt Quick Release 1.0
Chapter1 Introduction 介绍
1.1 谁应该阅读这份教程
本教程解释了Qt Quick应用开发的基础以及使用示例代码帮助全面了解; 教程包含标准Qt Quick文档和基础概...
分类:
其他好文 时间:
2014-08-17 10:27:02
阅读次数:
451
网页需要更好的交互体验,仅仅有html和css当然不够,因此javascript粉末登场 ...onload : 页面加载完成之后会出发onload eventalert() : 插入一些提示信息example:在页面加载完成之后提示'Hello, world',可以发现调用函数的方式...
分类:
编程语言 时间:
2014-08-16 23:38:01
阅读次数:
224
手机使用GPRS网络与服务器进行Socket通信,代码下载地址:http://download.csdn.net/detail/wu20093346/7768481
用UDP协议与Socket调试工具进行测试。
SocketActivity.java:
package com.example.socket;
import java.net.DatagramPacket;
import ja...
分类:
移动开发 时间:
2014-08-16 22:33:21
阅读次数:
670
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree and sum ...
分类:
其他好文 时间:
2014-08-16 22:24:21
阅读次数:
212
Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flattened t...
分类:
其他好文 时间:
2014-08-16 22:23:31
阅读次数:
269
在Memcached官方的GitHub上,可以找到这么一个文档——HowTo.txtHowto=====Basic Example:==============Lets say you have 3 servers. Server 1 and server 2 have 3GB of spacea....
分类:
其他好文 时间:
2014-08-16 22:21:51
阅读次数:
277
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example, S = "ADOBECOD...