码迷,mamicode.com
首页 > 其他好文
Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is1 -> 2 -> 3 -> ...
分类:其他好文   时间:2015-12-09 17:22:05    阅读次数:152
[转] 填石头——时间管理
转自:http://javatar.iteye.com/blog/376387在网上看到一篇时间管理的故事,好像以前在哪看过,翻出来一对比,同样的故事,得出的结论居然不一样,故事很简单,一个讲时间管理的老师用石头把瓶子填满了,问同学们是否满了,然后再用小石子,沙子,水进一步填满。第一种结论:时间总是...
分类:其他好文   时间:2015-12-09 17:19:58    阅读次数:171
LeetCode - Longest Palindromic Substring
题目:Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lon...
分类:其他好文   时间:2015-12-09 17:18:01    阅读次数:115
方差学习总结
在分析之前,要严格区分一个概念是在概率学上的定义还是在统计学上的定义。概率学比统计学更加的抽象一点,概率学研究一个事件的理想的情况,但是在真实的世界,这种理想的情况是很难或者不可能达到的,所以利用统计学中的样本来估计这个理想的结果。方差的概念和定义概率论中方差用来度量随机变量和其数学期望(均值)之间...
分类:其他好文   时间:2015-12-09 17:18:29    阅读次数:168
Majority Element
Given an array of sizen, find the majority element. The majority element is the element that appears more than? n/2 ?times.class Solution {public: int...
分类:其他好文   时间:2015-12-09 17:16:36    阅读次数:171
夺命雷公狗---Smarty NO:08 if–elseif–else函数
夺命雷公狗---Smarty NO:08 if–elseif–else函数
分类:其他好文   时间:2015-12-09 17:16:14    阅读次数:149
观实验三之有感
http://www.cnblogs.com/wengshen/p/5027645.html 03翁丹青实验条理清楚,便于浏览,但字数有些少._________________________________________________http://www.cnblogs.com/TonyWin...
分类:其他好文   时间:2015-12-09 17:17:54    阅读次数:148
多态抽象类学习
今天是忙碌的一天,早上六点半就起床然后跑操,然后早自习。第一节课本来没课却被老师硬生生的上了两节课(睡了过去),然后思政老师没来,放了昨天看的视频,中午真是生气学校搞什么藏龙之星的演讲,弄得一中午都不好,虽然逃课去吃了饭但是还是挺生气的。跟我半毛钱的关系都没有,我为什么要去,真是浪费我时间,搞得我....
分类:其他好文   时间:2015-12-09 17:15:53    阅读次数:146
Move Zeroes
Given an arraynums, write a function to move all0's to the end of it while maintaining the relative order of the non-zero elements.For example, givenn...
分类:其他好文   时间:2015-12-09 17:18:11    阅读次数:100
Error Code: 1418
Error Code: 1418This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want ...
分类:其他好文   时间:2015-12-09 17:16:43    阅读次数:119
Invert Binary Tree
nvert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4 / \ 7 2 / \ / \9 6 3 1/*** Definition for a binary tree node.*...
分类:其他好文   时间:2015-12-09 17:15:28    阅读次数:169
Erlang OTP学习(1)gen_server
在《Programming Erlang》的OTP introduction章节中,作者通过循序渐进的方式,向我们展示了gen_server设计思路,现在做下总结:在具体看gen_server之前,我们先看一个server通用框架:在这个server里,你几乎看不到任何和具体功能相关的东西,它只提供...
分类:其他好文   时间:2015-12-09 17:15:39    阅读次数:154
业务gis 怎么让别的开发人员不需要懂gis就可以搞开发? (四)
我们来想下业务系统用的做多选项是什么,他们要的很多是地块定位,业务系统要知道地块在哪,地块的样式,符号化,图层的展示,还有地块的属性显示,而业务开发人员并不关心你图层sde是啥,rest发布地址,所以你这些就没必要告诉他们,首先图层的管理是很重要的,每个业务系统(指定的config)有可能加载图层....
分类:其他好文   时间:2015-12-09 17:16:25    阅读次数:153
next_permutation
首先查看stl中相关信息.函数原型:template bool next_permutation( BidirectionalIterator_First, BidirectionalIterator_Last );template bool next_permutation( Bidirectio...
分类:其他好文   时间:2015-12-09 17:16:47    阅读次数:167
Nim Game
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston...
分类:其他好文   时间:2015-12-09 17:16:04    阅读次数:211
Esper系列(十三)Splitting and Duplicating Streams
Esper语法Splitting and Duplicating Streams
分类:其他好文   时间:2015-12-09 17:15:42    阅读次数:215
MAVEN概述
1. Maven有一个重要的文件"settings.xml“,这个文件来源于apache-maven-2.0.8/conf/ 下,要放在window下, Win7和Winxp还是有点不一样 , Win7 ---C:\Users\用户名\.m2 , Winxp ---C:\Documents and ...
分类:其他好文   时间:2015-12-09 17:13:36    阅读次数:185
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!