subsequences() and permutations() should be member methods of class List and of the interface.
Whitespace.