News for hackers. Stuff that matters.
Re:Want a job working on mongoDB? Your first online intervie... by agazso on Saturday April 23, 2011 @03:52PM (#2477413)
I gave a similar solution in the blog comments, but instead of sum of squares I used the product of the numbers. We used to give similar puzzles to candidates on job interviews.
Re:Want a job working on mongoDB? Your first online intervie... by fizx on Saturday April 23, 2011 @04:11PM (#2477487)
I don't think the product of the numbers solution is linear. Multiplication gets harder as numbers get bigger.
Re:Want a job working on mongoDB? Your first online intervie... by agazso on Saturday April 23, 2011 @06:06PM (#2477695)
Yeah, you are right. The parent has the right solution, but I already sent my comment to the original post.