自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(115)
  • 收藏
  • 关注

原创 Interview Vocabulary Summary

ace 常用词汇 英[eɪs]   美[eɪs]   adj.一流的;卓越的vt.发球得分;考试中取得好成绩释义常用度分布图海词统计发球得分高手幺点一流的好手考试中取..卓越的过去式:aced过去分词:aced现在分词:acing第三人称单数:aces...

2016-03-24 10:23:56 1344

转载 Deploy Django app on amazon ec2

Can someone give specific steps how to implement hosting a Django based website by using Amazon EC2 hosting service?Is that possible?My website source code can be found hereI

2016-03-29 22:45:51 866

转载 How to know that a triangle triple exists in one array?

IT's just a mathematical derivation!!!!!!!!!!!!!!!!! was stuck in solving the following interview practice question:I have to write a function:int triangle(int[] A);that given a zero-inde

2016-03-28 23:10:24 501

转载 Solution to Min-Avg-Two-Slice

Solution to Min-Avg-Two-Slice by codility - It IS a mathematical problem6FEBFebruary 6, 2014Question: https://codility.com/demo/take-sample-test/min_avg_two_sliceQuestion Name: M

2016-03-27 22:42:51 400

转载 python filter, map, reduce, lamda

Python特殊语法:filter、map、reduce、lambda [转]Python内置了一些非常有趣但非常有用的函数,充分体现了Python的语言魅力!filter(function, sequence):对sequence中的item依次执行function(item),将执行结果为True的item组成一个List/String/Tuple(取决于sequence的

2016-03-27 19:16:44 251

转载 Python lamda

Why are Python lambdas useful? [closed]up vote449down votefavorite253I'm trying to figure out python lambdas. Is lambda one of those 'interesting' language

2016-03-27 13:23:11 906

转载 Range minimum query

Range minimum queryFrom Wikipedia, the free encyclopedia  (Redirected from Range Minimum Query)Range minimum query reduced to the lowest common ancestor problem.In comput

2016-03-26 20:18:51 463

转载 Python and or ?A:B

python and 和 or2013-06-29 17:35 by youxin, 103 阅读, 0 评论, 收藏,  编辑在Python 中,and 和 or 执行布尔逻辑演算,如你所期待的一样。但是它们并不返回布尔值,而是返回它们实际进行比较的值之一。例 4.15. and 介绍>>> 'a' and 'b' 'b'>>>

2016-03-26 12:17:05 1158

转载 how many positive integers are divisible by a number d in range [x,y]?

What is wrong with my algorithm for finding how many positive integers are divisible by a number d in range [x,y]?up vote1down votefavoriteI have been solving

2016-03-25 23:06:00 6407

转载 Python reverse order

发布时间:2013 年 08 月 14 日/作者:admin/Python可以很简单实现C语言中for(i = len-1; i>=0; –i)的逆序循环,而且有不止一种写法:第一种,for i in range(len-1, -1, -1) ,简单易懂第二种,for i in range(len)[::-1],利用list的[start:end:step]

2016-03-25 21:42:46 841

转载 Find the smallest positive number missing from an unsorted array

You are given an unsorted array with both positive and negative elements. You have to find the smallest positive number missing from the array in O(n) time using constant extra space. You can modify t

2016-03-25 20:23:34 620

转载 排列组合

排列组合是组合学最基本的概念。所谓排列,就是指从给定个数的元素中取出指定个数的元素进行排序。组合则是指从给定个数的元素中仅仅取出指定个数的元素,不考虑排序。排列组合的中心问题是研究给定要求的排列和组合可能出现的情况总数。排列组合与古典概率论关系密切,是进一步学习的基础。  (一)两个基本原理是排列和组合的基础  (1)加法原理:做一件事,完成它可以有n类办法,在第一类办法中有m

2016-03-25 20:19:48 458

转载 python 中求和函数 sum详解

sum是python中一个很实用的函数,但是要注意它的使用,我第一次用的时候,就把它这样用了:s = sum(1,2,3)结果就悲剧啦其实sum()的参数是一个list例如:sum([1,2,3])sum(range(1,11))还有一个比较有意思的用法a = range(1,11)b = range(1,10)c =

2016-03-25 17:57:33 82736

转载 叶黄素

护眼抗氧化的叶黄素保健品值得买吗?云无心 发表于  2013-11-18 17:46图片来自:Shutterstock从保护眼睛到抗氧化,保健功效被宣传得如此神奇的保健品叫叶黄素。其实这个东西很多人应该都接触过——中学生物实验用纸层析法分离叶绿素,实验最后会在滤纸上出现四条不同颜色的带,黄色的那条就是叶黄素。 叶黄素让鸡蛋更有

2016-03-25 10:53:02 749

转载 high availability numbers

Numbers Everyone Should KnowWEDNESDAY, FEBRUARY 18, 2009 AT 8:14AMGoogle AppEngine NumbersThis group of numbers is from Brett Slatkin in Building Scalable Web Apps with Google App Engi

2016-03-24 10:11:05 226

转载 Python Traverse list reverse order

Traverse a list in reverse order in Pythonup vote252down votefavorite50So I can start from len(collection) and end in collection[0].EDIT: Sorry, I for

2016-03-24 08:57:59 923

转载 Python logical XOR

How do you get the logical xor of two variables in Python?For example, I have two variables that I expect to be strings. I want to test that only one of them contains a True value (is not None or

2016-03-24 08:56:53 2606

转载 Binary bitwise operations

5.8. Binary bitwise operationsEach of the three bitwise operations has a different priority level:and_expr ::= shift_expr | and_expr "&" shift_exprxor_expr ::= and_expr | xor_expr "^" and_expr

2016-03-24 08:55:13 630

转载 longest continuous subsequence of 0s

How can we find the longest continuous subsequence of 0's in binary representation of an integer in O(log n) time complexity?Michal Forišek, teacher, scientist, c

2016-03-23 19:12:43 307

转载 Python string modify

How do I modify a string in place?You can’t, because strings are immutable. Most string manipulation code in Python simply creates new strings instead of modifying the existing ones.If

2016-03-23 19:11:17 1464

转载 Python string compare

Why does comparing strings in Python using either '==' or 'is' sometimes produce a different result?up vote484down votefavorite150I've got a Python program

2016-03-23 19:10:39 4161

翻译 Python split

SyntaxFollowing is the syntax for split() method −str.split(str="", num=string.count(str)).Parametersstr -- This is any delimeter, by default it is space.num -- this is number

2016-03-23 19:08:33 314

转载 Python Convert int to binary

activeoldestvotesbin(x)Convert an integer number to a binary string. The result is a valid Python expression. If x is not a Python int object, it has to define an __index__() method

2016-03-23 09:26:16 4093

转载 Python format

Python中格式化输出字符串使用format()函数, 字符串即类, 可以使用方法;Python是完全面向对象的语言, 任何东西都是对象;字符串的参数使用{NUM}进行表示,0, 表示第一个参数,1, 表示第二个参数, 以后顺次递加;使用":", 指定代表元素需要的操作, 如":.3"小数点三位, ":8"占8个字符空间等;还可以添加特定的字母, 如:'b

2016-03-23 09:26:07 635

转载 Describe major crisis

'Give an example of a time when you handled a major crisis.' Tricky graduate interview questionThis type of question can throw you if you haven't thought about it in adva

2016-03-21 15:21:55 483

转载 Answer leadership questions

Answering Behavioral Interview Questions: LeadershipPosted by Pamela Skillings on Jan 23, 2014Behavioral Interviews Interview Questions & AnswersPart of our ongoing series to help

2016-03-21 14:17:07 1013

转载 How do you manage time and prioritise tasks

'How do you manage your time and prioritise tasks?' Tricky graduate interview questionFind out how to crack interview questions about your time management techniques and

2016-03-21 14:03:05 1012

转载 Describe your current position

HOW TO ANSWER: Describe your current position.Posted by Pamela Skillings on May 2, 2013Interview Questions & Answers InterviewingToday, we advise you on a common interview question t

2016-03-21 14:00:40 1247

转载 Tell me about yourself

HOW TO ANSWER: Tell Me About YourselfPosted by Pamela Skillings on Sep 23, 2011How to Interview Interview Questions & Answers Interview TipsThere are some job interview questions

2016-03-21 13:47:41 1974

转载 How to describe yourself

In just about every interview, the interviewer asks the question, “How would you describe yourself?” While this is something that should be anticipated and practiced, many job seekers overlook the imp

2016-03-21 13:46:52 1531

转载 How to prepare tech interview

How to Prepare for (and Ace) the Technical InterviewMORE LIKE THIS9 Ways to Ace the IT Executive Interview10 Tips to Prepare for an IT Job Video InterviewIT Job S

2016-03-21 13:34:18 834

转载 Tell me about your last project

How to reply to “Tell me about your last project?” in an interviewup vote25down votefavorite8I am a software engineer, I get confused what to answer, where to s

2016-03-21 13:32:08 560

转载 Interview Questions and Ans

16 Commonly Asked Interview Questions and AnswersAds By GoogleAccording to recruiters and interviewers, there are a number of good interview questions that are asked on a regular basis.As

2016-03-21 13:30:59 521

转载 Design Patterns Apply On Soccer Engine

Design Your Soccer Engine, and Learn How To Apply Design Patterns (Observer, Decorator, Strategy and Builder Patterns) - Part I and IIAnoop Madhusudanan, 9 Jan 2007 CPOL

2016-03-20 23:39:42 425

转载 OOD - blackjack design

How is my BlackJack game design?up vote7down votefavoriteThis is a command line BlackJack game created in Java as my final project for an advanced programming c

2016-03-20 23:38:13 710

转载 OOD - blackjack

Blackjack - a real world OOD exampleDan Fontanesi, 18 Jul 2007   4.87 (73 votes)Rate this:vote 1vote 2vote 3vo

2016-03-20 23:37:10 509

转载 Python ord

ord(c)Given a string of length one, return an integer representing the Unicode code point of the character when the argument is a unicode object, or the value of the byte when the argument is an 8-b

2016-03-20 21:07:12 630

转载 OO Design

面向对象设计 译者: gaofengthucs 原作者:Gayle Laakmann发表时间:2011-05-22浏览量:7706评论数:2挑错数:0程序员在面试过程中,遇到面向对象设计方面时,该如何应对呢?本文会给出答案。 Object Oriented Design面向对象设计How to Approach如何应对Object oriente

2016-03-20 18:16:29 663

转载 Python class method

classmethod(function)Return a class method for function.A class method receives the class as implicit first argument, just like an instance method receives the instance. To declare a class method,

2016-03-20 17:50:31 398

转载 Python singleton instantiation

Creational PatternsA creational pattern provides a particular instantiation mechanism. It can be aparticular object factory or even a class factory.This is an important pattern in compiled languag

2016-03-20 17:43:40 343

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除