Tag Archives: java
Print string permutations with Java.
I wrote this just to exercise my old java skills. If you find a use for it, let me know what you did with it! import java.util.*; public class Permute { LinkedList<String> orig; public Permute(LinkedList<String> _orig) { orig = _orig; } public LinkedList<String> BuildPerms(LinkedList<String> thisOrig) { Iterator<String> itr = thisOrig.iterator(); LinkedList<String> thisSol [...]
Sorting methods in Java.