3 ms·
In addition to recursion, you can use `foldl` and `foldr` (or similar functional methods) http://erlang.org/doc/man/lists.html http://erlang.org/doc/man/lists.
by whichdan 9y ago
In addition to recursion, you can use `foldl` and `foldr` (or similar functional methods)
http://erlang.org/doc/man/lists.html http://erlang.org/doc/man/lists.html