一亩三分地 标签 标签 刷题 相关帖子

标签:
刷题 (#刷题)

7270个主题 | 99818个回复 | 最后更新: 11 小时前

相关帖子

版块 回复/查看 最后发表
career cup top150 questions, 4th ed.

正找实习,ms在版上没看到有这个,希望有用[attach]3694[/attach]

attachment
刷题 41 11470 get_bits 2015-6-30 16:11
经典问题 : 求字符串最大公共子串

求字符串最大公共子串, 要求连续,非序列

刷题 12 4265 sing1ee 2012-9-30 07:50
Microsoft : 找出带环单链表的环起始节点

找出带环单链表的环起始节点比如 : 1,2,3,4,5,6,3,4,5,6,3.....3就是答案这个题我个人认为没啥意思,太取巧了

刷题 16 6551 sing1ee 2012-9-28 22:45
google : Organize football tournament

You need to organize a football tournament. There are n teams given. You need to prepare a schedule for the matches so that each team plays with every other ...

刷题 8 2788 lambda2fei 2012-9-4 17:34
Anonymous : 求数组中元素为另外两个元素和的最大元素

对于正数数组A[n], 找出A = A[x]+A[y]的A的最大值。时间复杂度O(nlogn), 空间复杂度O(1)

刷题 18 3873 lambda2fei 2012-9-3 15:09
MSRA : 二叉树上移石头

假设有一颗二叉树,已知这棵树的节点上不均匀的分布了若干石头,石头数跟这棵二叉树的节点数相同,石头只可以在子节点和父节点之间进行搬运,每次只能搬运一颗石头。请问如 ...

刷题 11 4253 lambda2fei 2012-9-2 16:57
Google : 位逆序

给你一个32位的number,把它按位逆序 : 1101001 ==> 1001011

刷题 6 3613 burself 2011-11-3 19:25
经典问题 : 字符串的最大公共子序列

估计很多研究过的人都知道,不过也有很多不清楚的。求字符串的最大公共子序列(非子串)。比如两个字符串:abcdefg 和 acbedff 的最大公共子序列是:abef求出子序 ...

刷题 4 3360 wwwyhx 2011-6-1 20:32
Google : 找最小窗口

Given array A and B, write a function to find the smallest window in A that covers all numbers in B

刷题 5 2847 wwwyhx 2011-5-28 14:35
Amazon : 字符串最短路径

字符串和字符串之间的转变可以通过插入,修改,删除字符来完成。插入,修改或删除了一个字符就是编辑了一步。比如cat->cut->put->pult, cat通过三步转换成了pult. 现在给你 ...

刷题 16 4864 darksteel 2011-5-22 01:20
Google : 找出第一个只出现一次的字符

在一个字符串中找到第一个只出现一次的字符。如输入abaccdeff,则输出b

刷题 10 3968 darksteel 2011-5-21 05:30
Find the longest simple path

就是找出无向/有向图内的最长无环路径,简便起见路径无权值

刷题 3 2543 darksteel 2011-5-21 05:25
Amazon : 寻找最大BST子结构大小

给一颗普通的二叉树,找出这棵树最大BST子结构的大小(子结构懂不,不是子树是子结构!!!!!!!!!!!)

刷题 2 2769 wwwyhx 2011-5-18 20:35
Microsoft : 找出相交两链表的交节点

两个单项链表彼此相交,求他们第一个交节点

刷题 5 3107 darksteel 2011-5-17 13:55
Google : 找中数

两个大小相同的排好序的数组,A和B,如何找出两个数组的中数

刷题 6 2573 darksteel 2011-5-15 12:45
Taobao : 分鸡蛋问题

N个鸡蛋分到M个篮子里(N>M),不能有空篮子,对于任意不大于于N的数,保证有几个篮子的鸡蛋数和等于此数,编程实现输入N,M两个数,输出所有分鸡蛋的方法

刷题 13 3647 darksteel 2011-5-15 06:12
Microsoft : 二叉树子结构

1 2 2 3 4 5 4 5 6 7 8 4 9 右边的二叉树 ...

刷题 4 2274 wwwyhx 2011-5-15 02:35
Microsoft : 判断点的位置

二维平面上给出一个多边形,按点的顺时针顺序表示,多边形可以是凸多边形也可以是凹多边形。给出一个点,判断这个点是否在这个多边形内部

刷题 5 2330 wwwyhx 2011-5-15 02:33
Bloomberg : 输出排列个数

//Write an algorithm to find the number //of six digit numbers where the sum of the first three digits is equal to the sum of the last three digits.

刷题 7 2735 wwwyhx 2011-5-15 02:32
google : 记电话号码

//You are given a String number containing the digits of a//phone number (the number of digits, n, can be any positive integer) . To help you memorize//the ...

刷题 6 2647 wwwyhx 2011-5-12 12:43
>
返回顶部