摘要: 原文链接:http://blog.csdn.net/pengone/article/details/50035889 apache: 如果采用RPM包安装,安装路径应在 /etc/httpd目录下 apache配置文件:/etc/httpd/conf/httpd.conf Apache模块路径:/u 阅读全文
posted @ 2017-06-04 14:04 细雨落花 阅读(13038) 评论(0) 推荐(1) 编辑
摘要: 原文出处: 1. 白话经典算法系列之八 MoreWindows白话经典算法之七大排序总结篇 2. 面试常用算法总结——排序算法(java版) 3. 常见排序算法小结 本篇主要整理了冒泡排序,直接插入排序,直接选择排序,希尔排序,归并排序,快速排序,堆排序七种常见算法,是从上面三篇博文中摘抄整理的,非 阅读全文
posted @ 2017-05-05 22:00 细雨落花 阅读(13870) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.csdn.net/hairetz/article/details/4141043/ 一、预备知识—程序的内存分配 一个由C/C++编译的程序占用的内存分为以下几个部分 1、栈区(stack)— 由编译器自动分配释放 ,存放函数的参数值,局部变量的值等。其 操作方式类 阅读全文
posted @ 2017-05-03 20:06 细雨落花 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 360笔试编程题一共三道:360春招&实习生招聘3.25在线编程题解 第一题是给出根据数学期望的公式编程实现,需要注意的是结果要求四舍五入保留三位小数,详情见链接。 第二题是求给定的字符串的子串中偶串的个数,偶串是指字符串中每个字母出现的次数均为偶数。 一种思路: 遍历所有子串,判断每个子串是否为偶 阅读全文
posted @ 2017-03-26 22:11 细雨落花 阅读(789) 评论(0) 推荐(0) 编辑
摘要: 一、美团笔试 问答题: 1.JavaScript把一个参数从页面A传递给页面B,进行某些操作,然后由页面B回传给页面A 2.各种排序算法的时间复杂度:冒泡排序,选择排序,插入排序,快速排序,归并排序,堆排序。 参考:http://blog.chinaunix.net/uid-25906157-id- 阅读全文
posted @ 2017-03-26 17:24 细雨落花 阅读(5401) 评论(0) 推荐(0) 编辑
摘要: 原文链接:CSS垂直居中的11种实现方式 11种实现方式分别如下: 1. 使用绝对定位和负外边距对块级元素进行垂直居中 html代码: <div id="box"> <div id="child">我是测试DIV</div> </div> css代码: #box { width: 300px; he 阅读全文
posted @ 2017-03-26 16:12 细雨落花 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://blog.csdn.net/liujie19901217/article/details/52088182 阅读全文
posted @ 2017-03-22 21:39 细雨落花 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 原文链接: http://blog.csdn.net/tangxiaolang101/article/details/54670218 写在前面的话,这是一篇译文,阅读资料时顺带整理翻译的,原文地址:http://igoro.com/archive/what-really-happens-when- 阅读全文
posted @ 2017-03-22 19:43 细雨落花 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Note: The input array will only contain 0 and 1.The length o 阅读全文
posted @ 2017-02-17 17:53 细雨落花 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Given an array of integers where 阅读全文
posted @ 2017-02-17 16:37 细雨落花 阅读(284) 评论(0) 推荐(0) 编辑