http://www.crifan.com/summary_python_variable_effective_scope/解释python中变量的作用域示例:1、代码版 1 #!/usr/bin/python 2 # -*- coding: utf-8 -*- 3 """ 4 ----------...
分类:
编程语言 时间:
2016-01-25 11:23:34
阅读次数:
174
关于C#的Enum(枚举),以前用过,老觉得有很多的坑。如果Enum中有2个值相同,则会出现一些问题:1,enumPlatform:intEnumControlusingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
namespaceEnumTest.ainy
{
///<summary>
///名字=..
In this tutorial we will learn the usage of final keyword. final keyword can be used along with variables, methods and classes. We will cover followin...
分类:
其他好文 时间:
2016-01-19 14:13:12
阅读次数:
125
原题链接在这里:https://leetcode.com/problems/summary-ranges/s 是start index, e是end index.看后一个数是否是前一个数加一,是就移动e, 不是就要加结果。加结果时分类讨论, s==e 和 s!=e加法不同。Time Complexi...
分类:
其他好文 时间:
2016-01-18 19:02:42
阅读次数:
154
OverviewHere I want to summarize Amazon marketplace web service (MWS or AMWS) that can be used for e-commerce data integration. It is based on Amazon ...
分类:
Web程序 时间:
2016-01-18 17:33:08
阅读次数:
283
常用算法: 1 package ArrayMergeSort; 2 3 import java.util.Arrays; 4 5 public class Solution { 6 public int[] mergeSort(int[] arr) { 7 if (arr...
分类:
其他好文 时间:
2016-01-14 14:04:50
阅读次数:
209
refer tohttp://www.programmerinterview.com/index.php/operating-systems/thread-vs-process/A process is an executing instance of an application. What do...
分类:
其他好文 时间:
2016-01-14 06:16:04
阅读次数:
214
Functions of StringBuilder:代码:public class Solution { public List summaryRanges(int[] nums) { List list = new ArrayList(); if(nums.le...
分类:
其他好文 时间:
2016-01-13 07:03:49
阅读次数:
202
Daily Summary 2016.1.11今天也是工作最轻松的一天,我们集体开了理论上的最后一次会议,讨论了如何处理最后的项目收尾工作,并且小组进行了聚餐讨论了每个人的收获与心得。会议结果:冯一飞同学完成项目总结文案的项目计划这部分内容。郭彦彬同学完成项目总结文案设计过程与思路这部分内容。黄定凯...
分类:
其他好文 时间:
2016-01-12 21:21:26
阅读次数:
110
/*============================================================================ File: VirtualFileStats.sql Summary: sys.dm_io_virtual_file_stats...
分类:
其他好文 时间:
2016-01-09 18:30:39
阅读次数:
232