由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - 一道面试题 (非IB)
相关主题
问一个老题一道面试题
[合集] 面试题(math)好久没看到这么decent的opening 了。
一个概率题Survey:what's your favorite series to compute Pi?
出个coding难题[合集] 有没有free的quadratic optimization package?
Quant 面试问题求解答!simulation problem
SQL, investment firm recruiter发过来的面试题 (转载)Can we calculate log likelihood ratio using SAS??? (转载)
一道面试题 求解optimization中如何限制weight的绝对值?
Quant 面试题求解[合集] 问一个简单 math question
相关话题的讨论汇总
话题: question话题: ib话题: brute话题: cuibc话题: indeed
进入Quant版参与讨论
1 (共1页)
J*****n
发帖数: 4859
1
找出1-1billion的数,满足如下的条件
可以表示成两组不同的cuibc sum
i.e. p=a^3+b^3=c^3+d^3
(a,b)<>(c,d)
我说用死算,他说行。
但我想知道有什么更巧妙的方法?
谢谢
d****2
发帖数: 109
2
heard on street上好象有...

【在 J*****n 的大作中提到】
: 找出1-1billion的数,满足如下的条件
: 可以表示成两组不同的cuibc sum
: i.e. p=a^3+b^3=c^3+d^3
: (a,b)<>(c,d)
: 我说用死算,他说行。
: 但我想知道有什么更巧妙的方法?
: 谢谢

J*****n
发帖数: 4859
3

哪章得题目?
不记得由这么一道算法题了。

【在 d****2 的大作中提到】
: heard on street上好象有...
J*****n
发帖数: 4859
4

他这个变换都怎么搞出来的?
A*****o
发帖数: 222
5
And another question would be:
is that all?

【在 J*****n 的大作中提到】
:
: 他这个变换都怎么搞出来的?

d*j
发帖数: 13780
6
这个也太变态了, 靠
只有那个平方的看起来还算合理
J*****n
发帖数: 4859
7

你是做数论的?

【在 A*****o 的大作中提到】
: And another question would be:
: is that all?

i******t
发帖数: 370
8
That's wrong...what about a=65, b=4, c=63, d=12. p and q are not integers!
btw: the post was deleted?

【在 J*****n 的大作中提到】
:
: 你是做数论的?

i******t
发帖数: 370
9
If you do it by brute force, the complexity is 1000^2/2=0.5 million? Plus
the number of outputs of course.

【在 J*****n 的大作中提到】
: 找出1-1billion的数,满足如下的条件
: 可以表示成两组不同的cuibc sum
: i.e. p=a^3+b^3=c^3+d^3
: (a,b)<>(c,d)
: 我说用死算,他说行。
: 但我想知道有什么更巧妙的方法?
: 谢谢

p*****k
发帖数: 318
10
i would think there is a constraint that a,b,c,d are non-negative. if so, the question was probably inspired by the Hardy-Ramanujan taxi number: 1729, which is the smallest satisfying such condition (there is a pretty fascinating story behind it). as far as i know (and plz correct me if im wrong), ppl indeed do brute-force search on these numbers.
http://www.research.att.com/~njas/sequences/A001235
iamrobot, p & q are rationals. and to answer Augusto's question, it is indeed complete, i.e., g
1 (共1页)
进入Quant版参与讨论
相关主题
[合集] 问一个简单 math questionQuant 面试问题求解答!
问一个优化问题 (转载)SQL, investment firm recruiter发过来的面试题 (转载)
A statistics question一道面试题 求解
出个题Quant 面试题求解
问一个老题一道面试题
[合集] 面试题(math)好久没看到这么decent的opening 了。
一个概率题Survey:what's your favorite series to compute Pi?
出个coding难题[合集] 有没有free的quadratic optimization package?
相关话题的讨论汇总
话题: question话题: ib话题: brute话题: cuibc话题: indeed