[AS3]as3用ByteArray来对SWF文件编码加密实例参考,简单来说,就是将 swf 以 binary 的方式读入,并对 ByteArray 做些改变,再重新存成 swf 档。这个作业当然也可能应该是由 Server 进行步骤一,随便建立一个 swf 当作要被加密的内容档案,怎么做不管,假设...
分类:
其他好文 时间:
2014-07-07 00:50:00
阅读次数:
348
一、字符类型简介1、CHAR, VARCHAR, TEXT 称为非二进制字符串; 2、BINARY, VARBINARY, BLOB 称为二进制字符串3、列类型存储空间 CHAR(M) M个字节,0 <= M <= 255 (L为固定的=255,不够补空格) VARCHAR(M) L+1个字节,其中...
分类:
数据库 时间:
2014-07-07 00:38:56
阅读次数:
309
1 /** 2 * Definition for binary tree 3 * public class TreeNode { 4 * int val; 5 * TreeNode left; 6 * TreeNode right; 7 * TreeNo...
分类:
其他好文 时间:
2014-07-05 16:53:34
阅读次数:
177
在计算机科学中,树是一种重要的非线性数据结构,直观地看,它是数据元素(在树中称为结点)按分支关系组织起来的结构。二叉树(Binary Tree)是每个节点最多有两个子树的有序树。通常子树被称作"左子树"(left subtree)和"右子树"(right subtree)。二叉树常被用于实现二叉查找树和二叉堆。值得注意的是,二叉树不是树的特殊情形。在图论中,二叉树是一个连通的无环图,并且每一个顶点的度不大于3。有根二叉树还要满足根结点的度不大于2。有了根结点后,每个顶点定义了唯一的根结点,和最多2个子结点。...
分类:
其他好文 时间:
2014-07-05 11:01:30
阅读次数:
267
The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the total number of bits in the code, print the sequence of...
分类:
其他好文 时间:
2014-07-04 07:35:58
阅读次数:
215
Given a binary tree, find its minimum depth.
分类:
其他好文 时间:
2014-07-03 18:54:32
阅读次数:
189
Given a binary tree, find its maximum depth.
分类:
其他好文 时间:
2014-07-03 13:19:33
阅读次数:
251
Given a binary tree, flatten it to a linked list in-place.
分类:
其他好文 时间:
2014-07-03 13:10:52
阅读次数:
204
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
分类:
其他好文 时间:
2014-07-03 13:02:23
阅读次数:
200
如果说数组(Array)是以线性的方式存储数据,那么可以将二叉树(Binary Tree)想象成以非线性二维的方式存储数据。二叉查找树(BST : Binary Search Tree)规定了树节点排列的一些规则,以保证它的查找时间要低于数组的线性查找时间。BST 算法查找时间依赖于树的拓扑结构,最...
分类:
其他好文 时间:
2014-07-03 12:14:51
阅读次数:
253