Tagged Questions
3
votes
1answer
65 views
Project Euler Problem 14 in Clojure
I recently began learning Clojure. In order to get better acquainted with it, I've been tackling Project Euler challenges.
Problem 14 is not really a difficult one. It asks for the number that ...
1
vote
1answer
43 views
Project Euler #20 solution in Clojure
Problem:
\$n!\$ means \$n × (n − 1) × ... × 3 × 2 × 1\$
For example, \$10! = 10 × 9 × ... × 3 × 2 × 1 = 3628800\$, and the sum of the digits in the number \$10!\$ is \$3 + 6 + 2 + 8 + 8 + 0 + ...
3
votes
3answers
91 views
More succinct / ideal solution to Project Euler #22
"Using names.txt (right click and 'Save Link/Target As...'), a 46K text file containing over five-thousand first names, begin by sorting it into alphabetical order. Then working out the alphabetical ...
15
votes
3answers
1k views
Project Euler Problem 2 in Clojure
I am in the process of learning Clojure. I am fairly new to functional programming and would like to know if my code smells or if there are any performance implications with my approach.
...