码迷,mamicode.com
首页 >  
搜索关键字:careercup    ( 212个结果
一些算法刷题的网站
1. leetcode http://leetcode.com/ 2. careerup http://www.careercup.com/ http://hawstein.com/posts/ctci-solutions-contents.html 3. glassdoor http://www. ...
分类:编程语言   时间:2016-09-18 23:40:05    阅读次数:310
[CareerCup] 18.12 Largest Sum Submatrix 和最大的子矩阵
18.12 Given an NxN matrix of positive and negative integers, write code to find the submatrix with the largest possible sum. 这道求和最大的子矩阵,跟LeetCode上的Max ...
分类:其他好文   时间:2016-05-13 14:23:24    阅读次数:211
[CareerCup] 18.11 Maximum Subsquare 最大子方形
18.11 Imagine you have a square matrix, where each cell (pixel) is either black or white. Design an algorithm to find the maximum subsquare such that ...
分类:其他好文   时间:2016-05-12 01:28:41    阅读次数:177
[CareerCup] 18.10 Word Transform 单词转换
18.10 Given two words of equal length that are in a dictionary, write a method to transform one word into another word by changing only one letter at ...
分类:其他好文   时间:2016-05-11 01:14:15    阅读次数:219
[CareerCup] 18.9 Find and Maintain the Median Value 寻找和维护中位数
18.9 Numbers are randomly generated and passed to a method. Write a program to find and maintain the median value as new values are generated. LeetCod ...
分类:其他好文   时间:2016-05-09 23:34:07    阅读次数:261
[CareerCup] 18.8 Search String 搜索字符串
18.8 Given a string s and an array of smaller strings T, design a method to search s for each small string in T. 参考资料: 从Trie树(字典树)谈到后缀树 CareerCup All ...
分类:其他好文   时间:2016-05-09 06:54:27    阅读次数:119
[CareerCup] 18.7 Longest Word 最长的单词
5.7 Given a list of words, write a program to find the longest word made of other words in the list. 这道题给了我们一个字符串数组,让我们找到最长的那个单词是由字符串数组中的其他单词组成的,LeetC ...
分类:其他好文   时间:2016-05-08 06:40:02    阅读次数:197
[CareerCup] 18.6 Smallest One Million Numbers 最小的一百万个数字
18.6 Describe an algorithm to find the smallest one million numbers in one billion numbers. Assume that the computer memory can hold all one billion n ...
分类:其他好文   时间:2016-05-07 06:37:17    阅读次数:177
[CareerCup] 18.4 Count Number of Two 统计数字2的个数
18.4 Write a method to count the number of 2s between 0 and n. 这道题给了我们一个整数n,让我们求[0,n]区间内所有2出现的个数,比如如果n=20,那么满足题意的是2, 12, 20,那么返回3即可。LeetCode上有一道很类似的题F ...
分类:其他好文   时间:2016-05-04 22:56:10    阅读次数:200
[CareerCup] 18.3 Randomly Generate Integers 随机生成数字
18.3 Write a method to randomly generate a set of m integers from an array of size n. Each element must have equal probability of being chosen. 这道题让我们 ...
分类:其他好文   时间:2016-05-04 01:21:12    阅读次数:203
212条   上一页 1 2 3 4 ... 22 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!