Live data from Hacker News

The Most Revealing Job Interview Question

refer.ly

241–242 of 242 posts

Re: The Most Revealing Job Interview Question

#241
post #228

Earlier quoted context omitted.

If I have time later today I'll extend your snippet, but my inclination is that the differences in speed become apparent only with very large numbers. I still suspect my algorithm is about 40-50% faster if you start with a googol.

It seems that the problem involves two parts: 1) To find an upper bound 2) Then divide the remaining region in halves until the number is found. The first observation that I have is that given that the secret number s is chosen, the first step can be completed arbitrarily quickly. One could use a function that rises arbitrarily fast. Imagine for example the function taking k to the Ackerman function A(2,2,k). That ri…

Excellent response. I think the framing element that was missing is if the random numbers were truly random.

Re: The Most Revealing Job Interview Question

#242
I refer.ly they are looking for a senior software engineer with good knowledge of php and mysql. So perhaps the title should be "The Most Revealing Job Interview Question for Finding a Good PHP Developer".

A very conservative approach, in this landscape every single decision must be attached to a clear goal, there is no room for experimentation, you should follow a direct goal Explain to your team how can get they solve the problems for their clients and describe the path for this goal.

Post reply on HN