Skip to content

Instantly share code, notes, and snippets.

import copy
# fun from Ernest!
#
# Given two strings s and t, determine whether some anagram of t is a substring of s.
# For example: if s = "udacity" and t = "ad", then the function returns True.
# Your function definition should look like: question1(s, t) and return a boolean True or False.
def q_mike(s, t):
def add_to_hist(c, hist):
@hyponymous
hyponymous / README.md
Last active October 7, 2015 04:34 — forked from mbostock/.block
Letter Scrambles
@hyponymous
hyponymous / README.md
Last active August 29, 2015 14:03 — forked from mbostock/.block
Voronoi Color Sampling