MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Method main

Java/Recursion/Subset_gen.java:15–23  ·  view source on GitHub ↗
(String args[])

Source from the content-addressed store, hash-verified

13 }
14
15 public static void main(String args[])
16 {
17 Scanner I = new Scanner(System.in);
18 System.out.println("ENTER A STRING");
19 String s = I.nextLine(); // Considering all characters are distinct
20 System.out.println();
21 subset(s, 0, s.length(), "");
22 I.close();
23 }
24}

Callers

nothing calls this directly

Calls 2

subsetMethod · 0.95
lengthMethod · 0.80

Tested by

no test coverage detected