By using this site, you agree to our Privacy Policy and our Terms of Use. Close
walsufnir said:
fatslob-:O said:
Mnementh said:
walsufnir said:
Mnementh said:
fatslob-:O said:
 

Then you wouldn't mind if I test out your programming capabilites ? That's what a boss should do to every applicant that tests out a persons programming knowledge so you got any problems with me testing out or what ? 

Go on, but remember, we can judge you based on your questions as well as you can judge me based on my answers. That said - let's look if you have any programming capabilities. I think every decent programmer is able to solve the lower-numbered Project Euler problems within a day or two. As I don't want to blather openly the solutions of Project Euler and spoil the fun about it, I only say the first digit of the solution to #20: 6. Tell me the last digit.

My Project euler friend-code is 6098827511648_2d71f0f1211169b6d7a724e43fe5e5a6 - what is yours?

http://projecteuler.net/

Problem 20: http://projecteuler.net/problem=20


I think this isn't a good task. Generally math-tasks are not really what you should take for showing programming skills. Or perhaps you should've ask him to write this in brainfuck, ook! or sparc-assembly and show us the source.

project Euler works - because you cannot solve the problems without coding a program for that problem. And in the region of higher numbered problems the brute force approach will usually fail you, that will need normal computers thousands of years to calculate. With optimization on the area of the problem you can reduce the complexity. Currently I try problem 407, and from some testing I expect the computer to finish the task in 7 hours. No, without programming skills you cannot solve Project Euler problems.

But nice idea with Brainfuck.

EDIT: To be clear: I don't think Project Euler is useful to find good programmers. But I think it is useful to see, if people are able to program or not. If they are unable, they can only google the solutions, and not too many blather them out. Who has solved ten or more probably solved them himself. if they are able to program, they should be able to solve simpler Project Euler problems. Brute force does work on some of them with a good enough computer. But that at least needs you to use a compiler and write basic programs. fatslob failed that test.

Oops looks like I didn't read the question correctly, you got me there. (The last digits is 8.)

My request will test you on the knowledge of arrays, sorting, and functions if you don't mind. (Do you want classes to go with that ?)


So you will make him do your homework? Oh man, that's lame :) Really, these are basic tasks. The crucial and funny part is design of algorithms, especially proven efficient ones (this means *you* are able to tell people in which complexity order your algorithm is, with proof). Nobody cares for sorting algorithms in a job. You use sort() and that's it. Really, only basic tasks. These are just the tools you get used to as a beginner.

Not exactly homework just some sanity tests.