Skip to content

Instantly share code, notes, and snippets.

@oremj
Created January 13, 2010 19:23
Show Gist options
  • Save oremj/276505 to your computer and use it in GitHub Desktop.
Save oremj/276505 to your computer and use it in GitHub Desktop.
prob15_bf(0,_) -> 1;
prob15_bf(_,0) -> 1;
prob15_bf(X,Y) -> prob15_bf(X-1,Y) + prob15_bf(X, Y-1).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment