Skip to content

Instantly share code, notes, and snippets.

@jsonreeder
jsonreeder / edit_distance.py
Created May 4, 2017 18:52
An implementation of the edit distance problem using dynamic programming.
"""Edit Distance
An implementation of the edit distance problem using dynamic programming.
"""
import unittest
cache = {}
def edit_distance(first, second):
@jsonreeder
jsonreeder / GPL.md
Created August 18, 2016 18:31 — forked from jnrbsn/GPL.md
A Markdown-formatted GPL for your GitHub projects.

GNU GENERAL PUBLIC LICENSE

Version 3, 29 June 2007

Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>

Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.