All Questions
Tagged with compression functional-programming
3 questions
2
votes
1
answer
2k
views
String compression algorithm using functional JavaScript
I've written an algo to compress a string
eg. aabcbbba to a2bcb3a
I'm pretty new to functional programming, I feel it's easier to debug and learn from functional code if you're good at it already, ...
4
votes
2
answers
196
views
Transforming an array in Ruby
I watched a presentation by Dave Thomas on Elixir where he gave an example problem that he solved using functional programming. He mentioned using Ruby to solve the same problem, but did not show an ...
2
votes
1
answer
676
views
Comparing run-length decoding algorithms
I'm working on Ocaml.org 99 problems, and I solved the run-length decode one.
Here is the solution given by the site:
...