Skip to content

Instantly share code, notes, and snippets.

@ultimatecodelab
ultimatecodelab / countdownSolver.md
Last active March 31, 2016 13:23
countdown letters solver
@ultimatecodelab
ultimatecodelab / test.py
Last active February 9, 2016 22:07
press 0 to exit the program.
##Arjun Kharel - Software Development (GMIT) - Theory of Algorithms
import timeit
wordmap = dict()
def anagram(word):
#convert to ascii value first and check against the dict words
convertedKey = sum(bytearray(word,'utf8'))
#print ("ASCII value of %s, is %d" % (word,convertedKey))