2013-2-10更新:本版已经放开发帖权限,凡是做了新人报道的,都可以发帖。**** 本内容被作者隐藏 ****
这本书的中文名叫“算法导论”。也是44本计算机科学经典著作之一。同学们有时间可以看看。此书为pdf版本,很清晰。也可以去新浪iask下载,或者留邮箱,我发给大家。 ...
这是44本计算机科学经典著作之一。主要讲的是data structure和algorithm analysis。希望能帮到有需要的同学,也希望读过这书的同学点评一下这本书。注意,这个版本是 ...
Given an array of elements find the largest possible number that canbe formed by using the elements of the array.eg: 10 9ans: 910 2 3 5 78ans: 78532 ...
两个数组,就地(不用额外空间)找出合并后第k大的数int[] a= [3 1 7]int[] b = [4 9]k: 3return 4.
Given a set of words in a dictionary, write a program to group all words which are anagrams of each other in to sets.You can use any C++ STLs or other languag ...
find all primes less than n (出的个什么破题这是)
A rooted binary tree with keys in its nodes has the binary search treeproperty (BST property) if, for every node, the keys in its leftsubtree are smaller th ...
You are given a binary tree in which each node contains a value Design an algorithmto find the number of all paths which sum up to that value PS. Path 这 ...
A circus is designing a tower routine consisting of people standing atop one another’sshoulders. For practical and aesthetic reasons, each person must be bot ...
//Given An unsorted Array of non-negative integers//how many different Binary Tree can be made from this array ??PS:用到数组所有的节点, 每个节点用一次
Given an array A find out maximum j-i such that A
given a number n... print a spiral matrix in O(1) space example if n=5 the op should be:25 24 23 22 2110 09 08 07 2011 02 01 06 1912 03 04 05 1813 1 ...
感觉的确不大一样,不知道那些公司为什么吃饱了撑着不拿个笔记本来面试,麻烦~~
Given a graph of price variation of a stock over a period of time, return the ideal time points to buy and sell, for maximization of profit. Time duration i ...
Given 3 arrays, pick 3 nos, one from each array, say a,b,c such that |a-b|+|b-c|+|c-a| is minimum,请给出解答的证明我只能说这题从证明和程序的编写上远没有开 ...
//Write a program to convert binary tree in to doubly linked list such that //doubly linked list represents the spiral order of given tree using recursion, ...
Given an array A of positive integers. Convert it to a decrement array with minimum cost. The only valid operation are:Decrement with cost = 1 (only once on a ...
排序算法 Sleep Sort2011年6月23日陈皓发表评论阅读评论 2,701 次点击 排序算法好像是程序员学习编程最多的算法,也可能是算法研究者们最喜欢研究的算法了。排序有 ...