码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
序列化和反序列化
参考使用 类: using System.IO;using System.Runtime.Serialization;using System.Runtime.Serialization.Formatters.Binary 其中 类中要标记为 可序列化 [Serializable] ...
分类:其他好文   时间:2016-09-19 15:50:31    阅读次数:102
401. Binary Watch
A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each LED represents ...
分类:其他好文   时间:2016-09-19 06:46:33    阅读次数:321
85. Maximal Rectangle
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area. For example, given the following ...
分类:其他好文   时间:2016-09-18 22:01:34    阅读次数:111
用ofstream/ifstream 读写Unicod的TXT
使用的平台:vs2013 控制台 from: http://bbs.csdn.net/topics/360229403 xiayuanzhong: unicode的TXT使用经验: 1.输出 换行符 ofstream ofs_c(FILE_NAME_C, ios::binary | ios::out ...
分类:其他好文   时间:2016-09-18 19:40:46    阅读次数:141
Twproject Gantt开源甘特图功能扩展
1、Twproject Gantt甘特图介绍 Twproject Gantt 是一款基于 jQuery 开发的甘特图组件,也可以创建其它图表,例如任务树(Task Trees)。内置编辑、缩放和 CSS 皮肤等功能。更重要的是,它是免费开源的。 官网地址是:https://gantt.twproje... ...
分类:其他好文   时间:2016-09-18 01:02:26    阅读次数:447
【转】ROC和AUC介绍以及如何计算AUC
转自:https://www.douban.com/note/284051363/ ROC(Receiver Operating Characteristic)曲线和AUC常被用来评价一个二值分类器(binary classifier)的优劣,对两者的简单介绍见[这里](http://bubblex ...
分类:其他好文   时间:2016-09-17 23:21:48    阅读次数:327
读取STL文件模型
STL是CAD软件中出来的一种3D模型文件格式,wiki已经解释的很清楚了。 STL文件两种格式,ASCII STL和Binary STL。 ASCII STL,每一个facet由7行数据组成,outer loop后面三个顶点的顺序沿法线矢量逆时针排序,格式如下: Binary STL,起始有80个 ...
分类:其他好文   时间:2016-09-17 17:42:27    阅读次数:242
235. Lowest Common Ancestor of a Binary Search Tree
Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST. According to the definition of LCA on Wikipedia ...
分类:其他好文   时间:2016-09-17 11:59:59    阅读次数:113
257. Binary Tree Paths
Given a binary tree, return all root-to-leaf paths. For example, given the following binary tree: All root-to-leaf paths are: ...
分类:其他好文   时间:2016-09-17 10:41:32    阅读次数:122
89. Gray Code
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 num ...
分类:其他好文   时间:2016-09-17 07:10:28    阅读次数:123
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!