Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 372 Bytes

File metadata and controls

8 lines (6 loc) · 372 Bytes

Permutation.java

This program, when run, takes a command-line argument for the number of elements, less than or equal to the number of elements from standard input, and returns a uniformly random subset from the given input. For example, a test example is below.

permutation.mp4