Skip to content

Instantly share code, notes, and snippets.

@sgoguen
sgoguen / Morph.cs
Created December 2, 2020 13:53 — forked from badamczewski/Morph.cs
Text Morphing in WPF
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Animation;
namespace WPFAnimations
@sgoguen
sgoguen / anagram.fs
Last active December 12, 2019 05:15 — forked from pragdave/anagram.fs
/// <summary>
/// Builds a map where the keys are word signatures and
/// each value is the list of words that share that signature.
/// The signature of a word is simply a string containing
/// the word's letters, sorted. Thus "dog" and "god" will
/// both have the signature "dgo", and the entry in the map
/// with that key will be those two words.
///
/// This let's us quickly find anagrams
/// </summary>