码迷,mamicode.com
首页 >  
搜索关键字:should    ( 4948个结果
J2SE习题(2)
第四、五周练习题 1.a. Define a class called BlogEntry that could be used to store an entry for a  Weblog. The class should have instance variables to store the poster’s  username, text of the entry, and th...
分类:其他好文   时间:2014-10-12 20:34:38    阅读次数:335
leetcode - Remove Duplicates from Sorted Array II
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,2,...
分类:其他好文   时间:2014-10-12 19:42:38    阅读次数:141
2 Unique Binary Search Trees II_Leetcode
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.For example,Given n = 3, your program should return all ...
分类:其他好文   时间:2014-10-12 19:12:18    阅读次数:158
Why we should overwrite the hashCode() when we overwrite the equals()
Preface Though I have used Java programme language for almost a year, I'm not familiar with a notion 'hash'. I have gotten a little knowledge about h....
分类:其他好文   时间:2014-10-11 23:15:57    阅读次数:364
[Leetcode] LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:系统相关   时间:2014-10-11 15:57:45    阅读次数:260
Web开发中需要了解的东西
在StackExchange上有人问了这样一个问题:What should every programmer know about web development?(关于Web开发,什么是所有程序员需要知道的?)里面给出的答案非常不错,所以,我翻译转载过来。顺便说一下,StackExchange真是...
分类:Web程序   时间:2014-10-11 10:52:05    阅读次数:298
Median of Two Sorted Arrays
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be....
分类:其他好文   时间:2014-10-10 23:59:54    阅读次数:226
LeetCode:LRU cache
题目:LRU cacheDesign and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key...
分类:系统相关   时间:2014-10-10 20:05:24    阅读次数:357
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-10-10 16:26:13    阅读次数:141
Implement a System Call in Kernel 3.10.56 (X86_64)
Implementing a system call in Kernel 2.6.32 is somehow different fromthe method in Kernel 3.10.56.In kernel 2.6.32, we should register the system call...
分类:其他好文   时间:2014-10-10 07:04:24    阅读次数:218
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!