zjkang blog
Sunday, May 31, 2015
211 Add and Search Word - Data structure design
›
Saturday, May 30, 2015
Smart Pointer C++
›
来源:Bloomberg Phone Interview 原帖: http://www.hawstein.com/posts/13.9.html 题目: Write a smart pointer (smart_ptr) class. 代码: #includ...
217 Contains Duplicate
›
来源:Leetcode 原帖: https://leetcode.com/problems/contains-duplicate/ 题目: Given an array of integers, find if the array contains any dupli...
约瑟夫环问题
›
来源:Bloomberg Onsite 原帖: http://blog.csdn.net/wuzhekai1985/article/details/6628491 题目: 最近看bloomberg的面经看到出现过几次约瑟夫环问题。这道题的模拟解法非常直观,更好的解法是...
Friday, May 29, 2015
160 Intersection of Two Linked Lists
›
来源:Leetcode 原帖: https://leetcode.com/problems/intersection-of-two-linked-lists/ 题目: Write a program to find the node at which the inte...
Ugly Numbers
›
来源:cc150, fgdsb 原帖: http://www.hawstein.com/posts/ctci-ch10-math.html http://www.fgdsb.com/2015/01/03/ugly-numbers/ 题目: ...
Thursday, May 28, 2015
Singleton
›
来源:Lintcode 原帖: http://www.lintcode.com/en/problem/singleton/ 题目: Singleton is a most widely used design pattern. If a class has and o...
›
Home
View web version