首先科班出身大牛请点右上角的叉 因为我真不想浪费你的时间。 本文是给没有基础的刷题选手看的 (没有基础是指挣扎的在刷CC,或者是像我当时一样 连数据结构和算法都没 ...
如题,是高清扫描版,pdf格式的。喜欢就下吧相比于4th。内容上看多了两百页,4th300页,这个5th多了近一倍。开头的面试介绍更详细了,增加了比如Frequently Asked Qu ...
看到这个版块有人在刷CareerCup的题,放上全书中文解答与代码,攒RP:Cracking the coding interview--问题与解答全书C++代码为了方便出门在外,没有电脑时还 ...
一年一度的CareerCup刷题活动来了,今年活动形式大致与去年一样,题目原则上一天一道,如果有纯思考的题目可以考虑加量,假期什么的可以考虑加量(喂,刷题就不要考虑太多 ...
1.2 Implement a function void reverse(char* str) in C or C++ which reverses a null-terminated string.回复解法可以按照以下格式来Notice:1、记得在程序注 ...
1.1 Implement an algorithm to determine if a string has all unique characters. Whatif you cannot use additional data structures? 回复解法可以按照以下格式来 ...
我只看了data structure那四章和sorting那一节里面有不少题真的很难懂,而且解法特别长,看一两遍好像也没有用。。。写出来就更难了不知道大家是怎么对付的?上面的每 ...
1.6 Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do this in ...
1.5 Implement a method to perform basic string compression using the counts of repeated characters. For example, the string aabcccccaaa would become a2blc5a3. I ...
1.4 Write a method to replace all spaces in a string with'%20'. You may assume that the string has sufficient space at the end of the string to hold the additio ...
1.3 Given two strings, write a method to decide if one is a permutation of the other. 回复解法可以按照以下格式来【解题思路】【时间复杂度】【空间复杂度 ...
这个资源被发布过了,详见http://www.1point3acres.com/bbs/thread-67137-1-1.html但是上面那个帖子有分数限制,所以对于我这种积分少于100的人来说还是要google各种搜。 ...
Implement an algorithm to print all valid (e g , properly opened and closed) combi- nations of n-pairs of parenthesespublic static void printPar(int l, int ...
拖拖拉拉也勉强做了几个chapter的题目了。。可是到了OOD那里我觉得自己跪了。。怎么做啊?有没有大神把整本书都给做了?后面的题不懂啊。。可是又不想看答案(看了还是不 ...
本人EE硬件转码农,小弱,求有人组团刷Careercup,求带~
rt cc150那些需要coding的章节刷完第一遍了 是直接上leetcode还是刷第二遍?我非cs出生 基础不好,大概50+%题目是看答案的
Program an iterator for a Linked List which may include nodes which are nested within other nodes. i.e. (1)->(2)->(3(4))->((5)(6). Iterator returns 1->2->3->4-> ...
原书中bit manipulation的solution是基于26个字符a-z的,这样java中的一个int 32bit就可以实现字符到每一个bit的mapping。如果题目改成256个asc字符,一下是我的改动结果 ...
Design the data structures for a generic deck of cards. Explain how you would subclass the data structure to implement blackjack.what is blackjack: http://en.wi ...
7.7 Design an algorithm to find the kth number such that the only prime factors are 3, 5, and 7.发帖规范:http://www.1point3acres.com/bbs/thread-48094-1-1.html ...