1 2 3 4
public static class DependencySorter<T> { public static IEnumerable<T> Sort(Dictionary<T, IEnumerable<T>> dependencies) ...
1 2 3 4
#!/usr/bin/python2.5 def permute(li): """Generate all permutations of a sequence ...
Python Computing permutations with...
by Leif Ryge,
October 22, 2008 04:16,
5 refactorings, tagged with generator, permutations, permutate, recursion
I suspect there is a better...
This code sorts a collectio...