Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 9 Online
OpenStudy (anonymous):

Project Euler, Problem 6: Here is my working solution for it: http://codepad.org/sZRAsQUr I would like some feedback, mainly, how can I use lambda/reduce in the first part of the problem? Any other kind of feedback will be appreciated also :-). Thanks in advance.

OpenStudy (anonymous):

http://codepad.org/XLe4DQX6 Here's a version with reduce and one with sum.

OpenStudy (anonymous):

Thanks dmancine. I forgot completely about map() built-in. =) Any other improvement on the code?

OpenStudy (anonymous):

http://codepad.org/Xh6qIuY1

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!