RubyFlow The Ruby and Rails community linklog

Algorithms, A Dropbox Challenge And Dynamic Programming

There aren’t enough implementations of interesting algorithms in ruby. The subset sum problem has a couple of interesting algorithmic solutions, it also happens to be the object of a programming challenge I came across recently. So, here are two solution to this problem that I came up with (a naive exponential time one as well as a better dynamic programming one) both implemented in ruby.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in