
Cracking_the_Code_Interview
忆之独秀
Engineer
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Chaptert1--Arrays_and_Strings
1.1Implement an algorithm to determine if a string has all unique characters. What if you can not use additional data structures?即:实现一个算法来判断一个字符串中所有的字符是否都是唯一的(没有重复字符)。如果你不能使用额外的数据结构。 作为简化,假原创 2013-08-05 23:31:04 · 1342 阅读 · 0 评论 -
Chapter2--Linked_Lists
阿斯蒂芬原创 2013-09-19 15:38:30 · 936 阅读 · 0 评论 -
Chapter3--Stacks and Queues
3.1 Describe how you could use a single array to implement three stacks.即:如何用一个数组来实现三个栈。这里我们只介绍一个实现起来很简单,但是效率并不是很高的方式。算法分析:将数组等分成三个相等的部分,然后允许单独的栈在有限的空间内生长。(注意:"["代表包含,")"代表不包含)>>对于栈1,我们将会使用[0,n/原创 2013-12-17 15:08:05 · 1451 阅读 · 0 评论