This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class Apriori { | |
public static void main (String args[]) { | |
// Get input | |
Scanner terminal = new Scanner(System.in); | |
System.out.print("Number of transactions: "); | |
int numberOfTransactions = Integer.parseInt(terminal.nextLine()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class Permutations { | |
public static void main (String args[]) { | |
// Check usage | |
if (args.length < 1) { | |
System.out.println("Usage: java Permutations [word]"); | |
return; |
NewerOlder