Problem description New Year is coming in Line World! In this world, there are n cells numbered by integers from 1 to n, as a 1?×?n board. People live ...
分类:
其他好文 时间:
2018-06-17 14:18:55
阅读次数:
182
Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only ...
分类:
其他好文 时间:
2018-06-13 11:50:28
阅读次数:
166
原理: 1、确保拖动对象在鼠标点上,如果不确定会出现瞬间移动的感觉 2、确保触碰到非通行区域,跳回到没触碰的点 源码: 触碰类网上提供的: ...
分类:
其他好文 时间:
2018-06-10 15:19:00
阅读次数:
203
1.安装Apache 2.启动Apache 启动的时候可能会出现如下警告: apache2: Could not determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName 说明你没有指定Ser ...
分类:
Web程序 时间:
2018-06-07 14:18:47
阅读次数:
289
可以证明的是,总是存在一种最优策略使得每个组内的权值都是连续的。 所以排完序一遍 two pointers就好啦。 Discription Mishka received a gift of multicolored pencils for his birthday! Unfortunately h ...
分类:
其他好文 时间:
2018-05-22 14:53:02
阅读次数:
356
Hive内部提供了很多函数给开发者使用,包括数学函数,类型转换函数,条件函数,字符函数,聚合函数,表生成函数等等,这些函数都统称为内置函数。 目录 数学函数 集合函数 类型转换函数 日期函数 条件函数 字符函数 聚合函数 表生成函数 数学函数(目录) Return Type Name (Signat ...
分类:
其他好文 时间:
2018-05-21 12:25:48
阅读次数:
258
什么是Affordance? 在人机交互领域中,我们常常提到某个设计的affordance。其中文对应的意思并没有一个统一的意见。Wikipedia2上先这个词被译为“承担特质”或者“环境赋使”(非常晦涩难懂),后又提出可译为“直观功能”,也有同行将其译为“可供性”3等等。是一个经常被使(滥)用,但 ...
分类:
其他好文 时间:
2018-05-19 00:45:26
阅读次数:
193
转置、伴随、行列式、逆矩阵 小矩阵(4 * 4及以下)eigen会自动优化,默认采用LU分解,效率不高 有关eigen库的一些基本使用方法 - CSDN博客 https://blog.csdn.net/r1254/article/details/47418871 ...
分类:
其他好文 时间:
2018-05-18 22:16:11
阅读次数:
839
参考资料 安装redhat 6.5详细步骤 https://www.osyunwei.com/archives/7129.html RHEL 6.5 x86_64 配置CentOS yum源 https://www.linuxidc.com/Linux/2015-10/124023.htm RHEL ...
分类:
数据库 时间:
2018-05-10 00:05:44
阅读次数:
214
用oracle建表,必须注意Oracle 关键字(保留字) Oracle 关键字(保留字) 大全 转载记录 其实这个东西可以在oracle 上输入一个sql语句就可以得到: select * from v$reserved_words order by keyword asc; //order 后边 ...
分类:
数据库 时间:
2018-05-09 19:37:29
阅读次数:
326