question: public static int uniform ( int n ) { if ( n <= 0 ) throw new IllegalArgumentException ( "Parameter N must be positive" ) ; return random . nextInt ( n ) ; }
target:  Returns a random integer uniformly in [0, n).