Problem I have the following code which returned the solution I was wanting after running for 1 hour. Are there […]
Tag: erlang
List-flattening function in erlang feels too wordy
Problem I wrote a tail-recursive list-flattening function, but I’m not too happy with it. a) Is tail-recursion necessary here, or […]
Find the sum of the digits in factorial of 100 in Erlang
Problem This is a problem in poject Euler: n! means n × (n − 1) × … × 3 × […]