Skip to content

Instantly share code, notes, and snippets.

@vsanjekar
vsanjekar / wordplay.py
Last active February 16, 2017 17:50
Some code around problems in Letterpress game
#from wordnik import *
#apiUrl = 'http://api.wordnik.com/v4'
#apiKey = '2c07cd1bf3e00c740000803bdbd0bc4ffe1a45a8e22f67fb5'
#client = swagger.ApiClient(apiKey, apiUrl)
#from PyDictionary import PyDictionary
#dictionary=PyDictionary()
# not efficient
def is_subseq(x, y):