由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 求解答:Find multiple missing numbers
相关主题
Pairwise Sum 算法follow up问个问题 求missing number
find subset that sum up to given number这些找missing number的题是不是都不能用求和做?
问一个经典题目今天又被recuiter 鄙视了,大家来教育下我吧。
I have one program to find primer between 2 and 1023 with bitset, but I don't understand one linegeneral solution for missing number(s) problem
问道面试题一道G的面试题。
Leetcode Two Sum,我这个O(n)解法为啥不讨服务器的好呢昨天面试的一道题,find k missing numbers
关于结果除掉重复的问题请教关于那个经典的missing number的题
面试题求教那个finding missing number from 1.。。N的怎么pad number
相关话题的讨论汇总
话题: numbers话题: find话题: missing话题: 解答话题: summing
进入JobHunting版参与讨论
1 (共1页)
f********c
发帖数: 147
1
题目:Given a file containing all possible numbers on a 32-bit architecture,
4 numbers are missing. Find the 4 missing numbers.
想了半天不知道该怎么入手,求高手解答下,谢谢了
h***k
发帖数: 161
2
bitmap吧
d****n
发帖数: 233
3
partition and count, basically divide & conquer.

【在 h***k 的大作中提到】
: bitmap吧
f********c
发帖数: 147
4
能说说大体思路吗?

【在 h***k 的大作中提到】
: bitmap吧
f********c
发帖数: 147
5
不是很懂,能说说大体思路吗?

【在 d****n 的大作中提到】
: partition and count, basically divide & conquer.
c***z
发帖数: 6348
6
mathematically,
summing up all numbers, figure out 1 missing number;
summing up all squares as well, figure out 2;
summing up all cubics in addition, figure out 3;
etc...

architecture,

【在 f********c 的大作中提到】
: 题目:Given a file containing all possible numbers on a 32-bit architecture,
: 4 numbers are missing. Find the 4 missing numbers.
: 想了半天不知道该怎么入手,求高手解答下,谢谢了

c******w
发帖数: 1108
7
This won't work if there are duplicates in the file.
The problem description doesn't say every number appears only once.

【在 c***z 的大作中提到】
: mathematically,
: summing up all numbers, figure out 1 missing number;
: summing up all squares as well, figure out 2;
: summing up all cubics in addition, figure out 3;
: etc...
:
: architecture,

d**p
发帖数: 510
8
bitset in java
f********c
发帖数: 147
9
不知能否说说思路?谢谢!

【在 d**p 的大作中提到】
: bitset in java
1 (共1页)
进入JobHunting版参与讨论
相关主题
那个finding missing number from 1.。。N的怎么pad number问道面试题
Google电面Leetcode Two Sum,我这个O(n)解法为啥不讨服务器的好呢
求一个array的算法题关于结果除掉重复的问题请教
Leetcode 689居然是fb的高频题?面试题求教
Pairwise Sum 算法follow up问个问题 求missing number
find subset that sum up to given number这些找missing number的题是不是都不能用求和做?
问一个经典题目今天又被recuiter 鄙视了,大家来教育下我吧。
I have one program to find primer between 2 and 1023 with bitset, but I don't understand one linegeneral solution for missing number(s) problem
相关话题的讨论汇总
话题: numbers话题: find话题: missing话题: 解答话题: summing