D3 JSJava scirpt is an awesome language for Internface Design.All Obejcts in JavaScirpt could be used as an argument to pass around.Important Objects:...
分类:
Web程序 时间:
2015-04-01 07:00:19
阅读次数:
252
??
The most common way to initialize flags is to use hexadecimal literals. This is how Microsoft and most C# developers do it:
[Flags]
public enum DaysOfTheWeek
{
None = 0,
Sunday = 0x01,
Monday...
分类:
编程语言 时间:
2015-03-31 20:12:19
阅读次数:
123
Djianggo 在win7下 安装会报错Traceback (most recent call last):File "setup.py", line 4, in from setuptools import setup, find_packagesImportError: No module ....
Key Design Concepts
关键的设计概念
Managing complexity is the most important technical topic in software development.
管理的复杂性是软件开发中最重要的技术课题。
The goal of all software-design techniques is to break acomplica...
分类:
其他好文 时间:
2015-03-31 18:02:18
阅读次数:
194
Follow up for "Remove Duplicates":
What if duplicates are allowed at most twice?
For example,
Given sorted array A = [1,1,1,2,2,3],
Your function should return length = 5,
and A is now [1,1,...
分类:
其他好文 时间:
2015-03-31 10:55:22
阅读次数:
98
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete at most k transactions.
Note:
You may no...
分类:
编程语言 时间:
2015-03-31 10:52:14
阅读次数:
193
1317. Sudoku
Constraints
Time Limit: 10 secs, Memory Limit: 32 MB
Description
Sudoku is a placement puzzle. The goal is to enter a symbol in each cell of a grid, most frequently a 9 ...
分类:
其他好文 时间:
2015-03-31 09:03:13
阅读次数:
209
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 at the head of the list.
题意:大数加法。
class Soluti...
分类:
其他好文 时间:
2015-03-30 16:33:20
阅读次数:
91
一个int占多少个字节?这个问题我们往往得到的答案是4.可是int究竟占多少个字节,却跟你的机器环境有关.As you can see, the typical data type sizes match the ILP32LL model, which is what most compilers...
分类:
其他好文 时间:
2015-03-30 16:04:28
阅读次数:
192
我非常喜欢两句话: the best people require least and give most.
我步入丛林,因为我希望生活得有意义,我希望活得深刻,并汲取生命中所有的精华。然后从中学习,以免让我在生命终结时,却发现自己从来没有活过.
他与人交往的谦和深深吸引了我, 把对方当作6年纪的小学生去交流, 这样你的思维更加清晰, 态度也会更加友善.
先记一些, 下次接着...
分类:
其他好文 时间:
2015-03-30 13:20:47
阅读次数:
95