News for hackers. Stuff that matters.
Re:Software Engineering Internship Amazon Interview Experience by minimaxir on Wednesday November 30, 2016 @07:59PM (#13076124)
...so what is the answer to 27 : 24 :: 64 : ?
Re:Software Engineering Internship Amazon Interview Experience by quantumtremor on Wednesday November 30, 2016 @08:00PM (#13076131)
My best guess is n^3:n^3-n, making the answer 60, but I have no idea what the real answer is.
Re:Software Engineering Internship Amazon Interview Experience by RyanCavanaugh on Wednesday November 30, 2016 @08:01PM (#13076140)
27 is 3 * 3 * 3 and 24 is (3 - 1) * 3 * (3 + 1)

64 is 4 * 4 * 4 and _60_ is (4 - 1) * 4 * (4 + 1)

Re:Software Engineering Internship Amazon Interview Experience by drvdevd on Wednesday November 30, 2016 @08:34PM (#13076361)
Thanks. I would've failed this question :)
Re:Software Engineering Internship Amazon Interview Experience by powercf on Wednesday November 30, 2016 @08:36PM (#13076379)
56.8…

Given that they've defined "::" differently to the usual "as" the answer could be anything. More specifically, the answer is f(64), where f(x) is wharever was in the head of the guy who made the question.

The same goes for the "what is the next number in this sequence" questions: unknowable given the information provided.

Re:Software Engineering Internship Amazon Interview Experience by userbinator on Wednesday November 30, 2016 @08:46PM (#13076445)
The answer is "x, such that x is an element of the set containing Everything."

But personally, if asked this question suddenly, I would've gone for the simplest: 61, because 27 - 24 = 64 - 61.

Re:Software Engineering Internship Amazon Interview Experience by plaguuuuuu on Wednesday November 30, 2016 @11:25PM (#13077171)
just find an f(x) where f(x) is in [a,b,c,d] and f(x) isn't so arcane that its unrealistic that the examiner would've had it in mind.
Re:Software Engineering Internship Amazon Interview Experience by throwaway012304 on Thursday December 01, 2016 @01:20PM (#13081884)
63, because it's always a pair of an even and odd number.