首页 > 其他
LeetCode - Unique Paths
题目:A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any...
分类:其他   时间:2015-12-30 07:00:10    收藏:0  评论:0  赞:0  阅读:241
LeetCode - Plus One
题目:Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is...
分类:其他   时间:2015-12-30 07:00:00    收藏:0  评论:0  赞:0  阅读:168
stl vector
初始化vector chars(26, 0); // initialized as 26 zeros
分类:其他   时间:2015-12-30 06:59:40    收藏:0  评论:0  赞:0  阅读:150
LeetCode - Valid Number
题目:Validate if a given string is numeric. Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => trueNote: It is intended fo...
分类:其他   时间:2015-12-30 06:59:30    收藏:0  评论:0  赞:0  阅读:188
LeetCode - Unique Paths II
题目:Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty spac...
分类:其他   时间:2015-12-30 06:59:20    收藏:0  评论:0  赞:0  阅读:214
Leetcode: Additive Number
Additive number is a string whose digits can form additive sequence.A valid additive sequence should contain at least three numbers. Except for the fi...
分类:其他   时间:2015-12-30 06:59:10    收藏:0  评论:0  赞:0  阅读:211
stl map
遍历mapit->first it->second#include#include#includeint main(){map words;map::iterator it=words.begin();for(;it!=words.end();++it) coutfirst ...
分类:其他   时间:2015-12-30 06:59:00    收藏:0  评论:0  赞:0  阅读:274
[?]*Factor Combinations
Numbers can be regarded as product of its factors. For example,8 = 2 x 2 x 2; = 2 x 4.Write a function that takes an integernand return all possible ....
分类:其他   时间:2015-12-30 06:58:50    收藏:0  评论:0  赞:0  阅读:147
LeetCode - Minimum Path Sum
题目:Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its pat...
分类:其他   时间:2015-12-30 06:58:30    收藏:0  评论:0  赞:0  阅读:164
docker入门指南(转载)
关于 docker今天云平台的同事提到, 现在的运维就是恶性循环, 因为大家都在申请机器, 显然的是, 大家申请机器都是按照自己的峰值申请的, 而为了保证突发状况, 如 ddos, 双11 等, 申请者甚至会两倍于自己的峰值去估算自己的服务. 由于资源紧张, 云平台会对其削减, 因为云平台也要为公司...
分类:其他   时间:2015-12-30 06:57:20    收藏:0  评论:0  赞:0  阅读:210
HashMap
HashMap 存放是键值对数据,键是唯一的,值可以不唯一,通常情况下HashMap中键值对的存放顺序是按键由小到大排列的。1.创建对象HashMap map = new HashMap();2.方法 put(k, v) 放入键值对数据 get(k) 用键获得对应的值 remove(k) 移除指定的...
分类:其他   时间:2015-12-30 06:57:00    收藏:0  评论:0  赞:0  阅读:216
大数据分析(一)探索性分析
最近,大数据风靡一时,也成为我们码农热捧的技术。大家疯狂的搭配hadoop环境,翻看各种hadoop技术的书,浏览hadoop、hive、storm等技术。过了一段时间,当我们想用这些技术对数据练习的时候。面对从网上下来了测试数据,要么束手无策,要么不管三七二十一就来一个统计回归模型。 我们对...
分类:其他   时间:2015-12-30 06:56:30    收藏:0  评论:0  赞:0  阅读:143
Bootstrap 第13章 模态框插件
index.hmtl <!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initi ...
分类:其他   时间:2015-12-30 02:11:49    收藏:0  评论:0  赞:0  阅读:203
基于Qt平台的报表解决方案NCReport v2.18.0发布【附下载】
NCReport是一个基于Qt跨平台应用程序和UI框架,使用C++编写的强大、快速、多平台、容易使用的报告引擎库、报表生成器、报表设计器、 报表记录器、报表工具、报表解决方案。如果你在寻找Qt报表引擎、Qt报表工具、Qt报表库等等,那么NCReport就是你的最佳选择。并且 NCReport兼容Qt5和Qt4. ? <?NCReport最新版本下载> ?v2.18.0版本具体更新 ...
分类:其他   时间:2015-12-30 02:11:24    收藏:0  评论:0  赞:0  阅读:913
解决xss漏洞
web.xml <filter> <filter-name>xssFilter</filter-name> <filter-class>com.aoi.selfhelp.filters.XSSFilter</filter-class> </filter> <!-- 解决xss漏洞 --> ...
分类:其他   时间:2015-12-30 02:10:10    收藏:0  评论:0  赞:0  阅读:234
校验Referer头,防范CSRF(跨站请求伪造)攻击的拦截器
public final static String domainName = "192.168.2.123"; ? ? package com.web.interceptors; import org.apache.log4j.Logger; import org.apache.struts2.ServletActionContext; i ...
分类:其他   时间:2015-12-30 02:09:45    收藏:0  评论:0  赞:0  阅读:1617
Bootstrap 第14章 下拉菜单和滚动监听插件
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1 ...
分类:其他   时间:2015-12-30 02:08:55    收藏:0  评论:0  赞:0  阅读:197
user.table.column, table.column 或列说明无效
Oracle统计采用别名出错(user.table.column, table.column 或列说明无效) ? >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>&g ...
分类:其他   时间:2015-12-30 02:06:49    收藏:0  评论:0  赞:0  阅读:270
卸载Cloudera manager
1. 关闭集群中的所有服务。 ?这个可以通过clouder manger 主页关闭集群。 ? 2. 卸载,主节点卸载 ?/usr/share/cmf/uninstall-cloudera-manager.sh? ? 从节点停止agent: service cloudera-scm-agent stop ? 主从节点: umount /var/run/cloudera- ...
分类:其他   时间:2015-12-30 02:06:24    收藏:0  评论:0  赞:0  阅读:248
索引原理与表设计
作者:黄湘龙 架构师交流群(312254004) 欢迎非商业转载,商业使用请联系我 ? ? ? 索引是有效使用数据库的基础,但你的数据量很小的时候,或许通? ...
分类:其他   时间:2015-12-30 02:05:35    收藏:0  评论:0  赞:0  阅读:209
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!