summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/BaseballElimination.java64
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/Makefile28
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams1.txt2
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams10.txt11
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams12-allgames.txt13
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams12.txt13
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams24.txt25
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams29.txt30
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams30.txt31
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams32.txt33
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams36.txt37
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams4.txt5
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams42.txt43
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams48.txt49
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams4a.txt5
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams4b.txt5
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams5.txt6
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams50.txt51
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams54.txt55
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams5a.txt6
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams5b.txt6
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams5c.txt6
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams60.txt61
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams7.txt8
-rw-r--r--Algorithms/Part-II/3-BaseballElimination/data/teams8.txt9
25 files changed, 602 insertions, 0 deletions
diff --git a/Algorithms/Part-II/3-BaseballElimination/BaseballElimination.java b/Algorithms/Part-II/3-BaseballElimination/BaseballElimination.java
new file mode 100644
index 0000000..3021da6
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/BaseballElimination.java
@@ -0,0 +1,64 @@
+/* vim: set expandtab tabstop=4 shiftwidth=4 : */
+
+public class BaseballElimination
+{
+ public BaseballElimination(String filename)
+ {
+ // create a baseball division from given filename in format specified below
+ }
+ public int numberOfTeams()
+ {
+ // number of teams
+ return 0;
+ }
+ public Iterable<String> teams()
+ {
+ // all teams
+ return null;
+ }
+ public int wins(String team)
+ {
+ // number of wins for given team
+ return 0;
+ }
+ public int losses(String team)
+ {
+ // number of losses for given team
+ return 0;
+ }
+ public int remaining(String team)
+ {
+ // number of remaining games for given team
+ return 0;
+ }
+ public int against(String team1, String team2)
+ {
+ // number of remaining games between team1 and team2
+ return 0;
+ }
+ public boolean isEliminated(String team)
+ {
+ // is given team eliminated?
+ return false;
+ }
+ public Iterable<String> certificateOfElimination(String team)
+ {
+ // subset R of teams that eliminates given team; null if not eliminated
+ return null;
+ }
+
+ public static void main(String[] args) {
+ BaseballElimination division = new BaseballElimination(args[0]);
+ for (String team : division.teams()) {
+ if (division.isEliminated(team)) {
+ StdOut.print(team + " is eliminated by the subset R = { ");
+ for (String t : division.certificateOfElimination(team))
+ StdOut.print(t + " ");
+ StdOut.println("}");
+ }
+ else {
+ StdOut.println(team + " is not eliminated");
+ }
+ }
+ }
+}
diff --git a/Algorithms/Part-II/3-BaseballElimination/Makefile b/Algorithms/Part-II/3-BaseballElimination/Makefile
new file mode 100644
index 0000000..cf2b9bb
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/Makefile
@@ -0,0 +1,28 @@
+
+CC = javac
+ALGS4 = ../../algs4
+BIN = BaseballElimination
+SRCS = BaseballElimination.java
+CLASSPATH = -classpath '.:$(ALGS4)/algs4.jar:$(ALGS4)/stdlib.jar'
+
+.SUFFIXES:
+.SUFFIXES: .java .class
+.PHONY: clean $(BIN)
+
+.java.class:
+ $(CC) -Xlint $(CLASSPATH) $<
+ $(ALGS4)/bin/checkstyle $<
+
+$(BIN): $(BIN).class
+
+test: $(BIN)
+ java $(CLASSPATH) $(BIN) ./data/teams4.txt
+ java $(CLASSPATH) $(BIN) ./data/teams5.txt
+
+zip: $(BIN)
+ $(ALGS4)/bin/findbugs $(BIN).class
+ rm -f *.zip
+ zip seamCarving.zip $(SRCS)
+
+clean:
+ rm -f *.class *.zip check.sh $(BIN)
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams1.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams1.txt
new file mode 100644
index 0000000..0b55f35
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams1.txt
@@ -0,0 +1,2 @@
+1
+Turing 100 55 0 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams10.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams10.txt
new file mode 100644
index 0000000..826f000
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams10.txt
@@ -0,0 +1,11 @@
+10
+ Atlanta 0 0 63 0 9 9 9 9 9 9 9 0 0
+ Boston 0 0 63 9 0 9 9 9 9 9 9 0 0
+ Chicago 0 0 63 9 9 0 9 9 9 9 9 0 0
+ Cleveland 0 0 63 9 9 9 0 9 9 9 9 0 0
+ Dallas 0 0 63 9 9 9 9 0 9 9 9 0 0
+ Denver 0 0 63 9 9 9 9 9 0 9 9 0 0
+ Detroit 0 0 63 9 9 9 9 9 9 0 9 0 0
+ Golden_State 0 0 63 9 9 9 9 9 9 9 0 0 0
+ Houston 31 32 0 0 0 0 0 0 0 0 0 0 0
+ Indiana 32 31 0 0 0 0 0 0 0 0 0 0 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams12-allgames.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams12-allgames.txt
new file mode 100644
index 0000000..dddb6d1
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams12-allgames.txt
@@ -0,0 +1,13 @@
+12
+ Team0 47 52 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team1 49 50 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team2 51 48 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team3 46 53 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team4 55 44 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team5 46 53 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team6 46 53 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team7 54 45 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team8 45 54 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team9 49 50 0 0 0 0 0 0 0 0 0 0 0 0 0
+Team10 51 48 0 0 0 0 0 0 0 0 0 0 0 0 0
+Team11 55 44 0 0 0 0 0 0 0 0 0 0 0 0 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams12.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams12.txt
new file mode 100644
index 0000000..de978aa
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams12.txt
@@ -0,0 +1,13 @@
+12
+Poland 6 1 4 0 1 1 0 1 0 0 0 0 0 1 0
+Russia 5 1 5 1 0 0 1 0 1 1 0 1 0 0 0
+Brazil 5 1 5 1 0 0 1 0 1 0 0 1 1 0 0
+Iran 5 2 4 0 1 1 0 1 0 0 0 0 0 0 1
+Italy 4 2 5 1 0 0 1 0 0 1 0 1 1 0 0
+Cuba 4 2 5 0 1 1 0 0 0 0 1 0 0 1 1
+Argentina 3 3 5 0 1 0 0 1 0 0 1 0 0 1 1
+USA 3 4 4 0 0 0 0 0 1 1 0 1 1 0 0
+Japan 2 5 4 0 1 1 0 1 0 0 1 0 0 0 0
+Serbia 1 5 5 0 0 1 0 1 0 0 1 0 0 1 1
+Egypt 1 6 4 1 0 0 0 0 1 1 0 0 1 0 0
+China 0 7 4 0 0 0 1 0 1 1 0 0 1 0 0 \ No newline at end of file
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams24.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams24.txt
new file mode 100644
index 0000000..3c22ad7
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams24.txt
@@ -0,0 +1,25 @@
+24
+ Team0 81 66 15 0 2 4 0 3 0 1 0 1 0 0 0 0 1 1 1 0 1 0 0 0 0 0 0
+ Team1 75 75 12 2 0 0 3 1 2 0 0 0 1 1 0 0 0 0 0 0 1 0 0 1 0 0 0
+ Team2 79 68 15 4 0 0 3 0 1 3 0 1 0 1 0 0 1 1 0 0 0 0 0 0 0 0 0
+ Team3 74 71 17 0 3 3 0 3 2 0 0 0 4 0 1 0 0 0 0 1 0 0 0 0 0 0 0
+ Team4 66 82 14 3 1 0 3 0 0 0 1 1 0 0 0 1 0 2 1 1 0 0 0 0 0 0 0
+ Team5 71 80 11 0 2 1 2 0 0 0 1 1 0 0 1 0 1 0 0 1 0 0 0 1 0 0 0
+ Team6 69 71 22 1 0 3 0 0 0 0 5 3 1 3 2 0 0 1 0 0 1 0 2 0 0 0 0
+ Team7 68 81 13 0 0 0 0 1 1 5 0 3 2 0 0 0 0 0 0 0 1 0 0 0 0 0 0
+ Team8 72 72 18 1 0 1 0 1 1 3 3 0 2 3 0 0 0 0 0 0 0 2 0 0 0 1 0
+ Team9 65 81 16 0 1 0 4 0 0 1 2 2 0 2 1 1 0 0 0 0 0 0 0 0 1 0 1
+Team10 80 69 13 0 1 1 0 0 0 3 0 3 2 0 1 0 0 0 0 1 0 0 0 0 1 0 0
+Team11 74 80 8 0 0 0 1 0 1 2 0 0 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0
+Team12 70 81 11 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 3 2 1 0 0 1 0 0 1
+Team13 69 78 15 1 0 1 0 0 1 0 0 0 0 0 1 0 0 1 1 4 2 0 2 0 0 1 0
+Team14 83 66 13 1 0 1 0 2 0 1 0 0 0 0 0 0 1 0 4 1 0 0 1 0 0 0 1
+Team15 82 59 21 1 0 0 0 1 0 0 0 0 0 0 0 3 1 4 0 3 5 0 0 2 0 1 0
+Team16 55 87 20 0 0 0 1 1 1 0 0 0 0 1 0 2 4 1 3 0 3 1 0 0 1 0 1
+Team17 81 64 17 1 1 0 0 0 0 1 1 0 0 0 0 1 2 0 5 3 0 0 0 1 1 0 0
+Team18 71 71 20 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 1 0 0 2 4 2 4 5
+Team19 68 84 10 0 0 0 0 0 0 2 0 0 0 0 0 0 2 1 0 0 0 2 0 1 1 0 1
+Team20 82 60 20 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 2 0 1 4 1 0 6 2 1
+Team21 76 69 17 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 1 2 1 6 0 0 4
+Team22 84 63 15 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 4 0 2 0 0 6
+Team23 62 79 21 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 1 0 5 1 1 4 6 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams29.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams29.txt
new file mode 100644
index 0000000..c47b13b
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams29.txt
@@ -0,0 +1,30 @@
+29
+ Atlanta 123 76 53 0 7 7 7 7 7 0 0 2 1 0 1 3 5 0 0 3 0 0 1 0 2 0 0 0 0 0 0 0
+ Boston 112 86 54 7 0 7 7 7 7 3 1 0 0 4 0 2 0 0 0 0 0 0 1 1 0 1 0 0 1 0 4 1
+ Chicago 125 70 57 7 7 0 7 7 7 3 0 0 5 0 2 1 1 0 0 2 2 1 0 2 0 0 0 0 0 0 3 0
+ Cleveland 124 79 49 7 7 7 0 7 7 1 0 0 0 0 1 0 0 0 6 0 0 0 0 0 0 1 2 2 0 0 1 0
+ Dallas 116 78 58 7 7 7 7 0 7 3 0 0 0 0 6 2 0 0 2 0 0 2 2 5 1 0 0 0 0 0 0 0
+ Denver 121 83 48 7 7 7 7 7 0 1 0 2 1 0 0 0 2 0 2 0 0 0 0 0 0 0 0 0 1 1 0 3
+ Detroit 103 124 25 0 3 3 1 3 1 0 0 0 0 2 2 0 0 0 0 0 0 0 1 0 0 3 2 2 0 0 2 0
+ Golden_State 98 121 33 0 1 0 0 0 0 0 0 0 1 0 0 6 0 3 0 4 0 3 0 2 0 0 5 2 1 0 0 5
+ Houston 114 123 15 2 0 0 0 0 2 0 0 0 3 1 0 0 3 0 0 0 0 1 0 0 1 1 1 0 0 0 0 0
+ Indiana 93 136 23 1 0 5 0 0 1 0 1 3 0 2 0 0 0 0 0 0 0 0 0 0 0 1 0 6 3 0 0 0
+ LA_Clippers 92 134 26 0 4 0 0 0 0 2 0 1 2 0 0 0 0 0 3 3 0 0 2 0 5 0 0 2 0 0 2 0
+ LA_Lakers 106 116 30 1 0 2 1 6 0 2 0 0 0 0 0 3 1 3 0 0 4 0 2 0 0 0 0 0 3 0 0 2
+ Memphis 95 122 35 3 2 1 0 2 0 0 6 0 0 0 3 0 3 0 0 2 2 1 0 1 0 4 2 0 0 3 0 0
+ Miami 115 112 25 5 0 1 0 0 2 0 0 3 0 0 1 3 0 4 0 0 0 3 0 0 2 0 0 0 1 0 0 0
+ Milwaukee 114 113 25 0 0 0 0 0 0 0 3 0 0 0 3 0 4 0 0 0 1 3 0 0 2 2 0 1 0 0 6 0
+ Minnesota 113 108 31 0 0 0 6 2 2 0 0 0 0 3 0 0 0 0 0 1 0 1 0 0 0 0 0 4 4 3 5 0
+ New_Jersey 117 115 20 3 0 2 0 0 0 0 4 0 0 3 0 2 0 0 1 0 1 0 0 0 1 0 0 0 0 1 0 2
+ New_Orleans 119 118 15 0 0 2 0 0 0 0 0 0 0 0 4 2 0 1 0 1 0 1 0 0 0 0 0 0 4 0 0 0
+ New_York 113 116 23 0 0 1 0 2 0 0 3 1 0 0 0 1 3 3 1 0 1 0 0 2 0 0 0 0 1 0 0 4
+ Orlando 100 133 19 1 1 0 0 2 0 1 0 0 0 2 2 0 0 0 0 0 0 0 0 0 3 0 0 1 6 0 0 0
+ Philadelphia 122 104 26 0 1 2 0 5 0 0 2 0 0 0 0 1 0 0 0 0 0 2 0 0 5 0 2 1 1 4 0 0
+ Phoenix 103 123 26 2 0 0 0 1 0 0 0 1 0 5 0 0 2 2 0 1 0 0 3 5 0 0 0 0 0 0 3 1
+ Portand 104 127 21 0 1 0 1 0 0 3 0 1 1 0 0 4 0 2 0 0 0 0 0 0 0 0 0 4 0 2 0 2
+ Sacramento 124 114 14 0 0 0 2 0 0 2 5 1 0 0 0 2 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0
+ San_Antonio 102 124 26 0 0 0 2 0 0 2 2 0 6 2 0 0 0 1 4 0 0 0 1 1 0 4 0 0 0 0 1 0
+ Seattle 115 107 30 0 1 0 0 0 1 0 1 0 3 0 3 0 1 0 4 0 4 1 6 1 0 0 0 0 0 0 0 4
+ Toronto 113 123 16 0 0 0 0 0 1 0 0 0 0 0 0 3 0 0 3 1 0 0 0 4 0 2 0 0 0 0 2 0
+ Utah 107 116 29 0 4 3 1 0 0 2 0 0 0 2 0 0 0 6 5 0 0 0 0 0 3 0 0 1 0 2 0 0
+ Washington 113 115 24 0 1 0 0 0 3 0 5 0 0 0 2 0 0 0 0 2 0 4 0 0 1 2 0 0 4 0 0 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams30.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams30.txt
new file mode 100644
index 0000000..ba51ef1
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams30.txt
@@ -0,0 +1,31 @@
+30
+ Team0 70 80 12 0 1 1 0 0 0 0 2 0 0 1 0 2 0 2 0 0 1 0 0 0 0 0 1 0 0 0 0 1 0
+ Team1 73 78 11 1 0 0 1 0 0 1 0 0 0 1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part-II/3-BaseballElimination/data/teams32.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams32.txt
new file mode 100644
index 0000000..ab64773
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams32.txt
@@ -0,0 +1,33 @@
+32
+ Team0 80 66 16 0 0 1 0 0 1 0 1 2 0 0 1 0 0 0 0 1 1 1 0 0 0 1 0 0 0 3 0 2 0 1 0
+ Team1 78 67 17 0 0 0 0 0 2 0 2 1 0 1 1 0 1 0 2 1 0 0 1 0 0 1 0 1 0 0 0 0 2 0 1
+ Team2 62 87 13 1 0 0 0 0 0 2 2 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 3 1 0 0 0 0 0 0 1
+ Team3 68 83 11 0 0 0 0 2 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 0 0 1 0 1 0 0 1 0 0 1 0
+ Team4 74 78 10 0 0 0 2 0 0 0 1 1 0 0 0 0 0 1 0 0 1 0 0 2 0 0 1 0 1 0 0 0 0 0 0
+ Team5 72 67 23 1 2 0 0 0 0 0 1 0 1 1 1 1 0 1 2 0 0 0 1 0 2 1 0 1 2 0 1 0 0 1 3
+ Team6 83 65 14 0 0 2 0 0 0 0 0 0 0 0 1 0 0 1 0 1 2 0 1 0 1 0 0 0 1 0 1 1 1 1 0
+ Team7 70 74 18 1 2 2 1 1 1 0 0 0 0 0 1 0 0 0 1 1 2 0 0 1 0 0 0 0 1 0 1 1 0 0 1
+ Team8 83 66 13 2 1 0 1 1 0 0 0 0 0 0 0 0 1 0 0 0 1 2 1 0 0 0 1 0 0 1 0 0 0 1 0
+ Team9 80 70 12 0 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 2 0 0 1 0 0 0 6 0
+Team10 80 70 12 0 1 1 0 0 1 0 0 0 0 0 0 1 0 1 0 1 2 0 1 0 1 0 0 0 1 0 0 0 1 0 0
+Team11 81 66 15 1 1 0 0 0 1 1 1 0 0 0 0 2 1 1 0 0 0 1 0 1 1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 0 1 0 0 1 0 1 1 0 0 0 0 0 2 0 0 0 1 1 0 2 0 1
+Team26 80 70 12 3 0 0 0 0 0 0 0 1 1 0 1 0 1 0 0 0 0 1 1 0 0 1 0 1 1 0 0 0 0 0 0
+Team27 74 75 13 0 0 0 1 0 1 1 1 0 0 0 0 0 0 1 0 1 2 0 0 0 0 0 2 0 1 0 0 0 1 0 1
+Team28 68 83 11 2 0 0 0 0 0 1 1 0 0 0 0 1 1 0 0 1 0 0 0 1 1 0 0 1 0 0 0 0 1 0 0
+Team29 72 79 11 0 2 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1 1 2 0 1 1 0 0 0
+Team30 73 70 19 1 0 0 1 0 1 1 0 1 6 0 1 0 0 0 2 1 2 0 1 0 0 1 0 0 0 0 0 0 0 0 0
+Team31 79 71 12 0 1 1 0 0 3 0 1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams36.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams36.txt
new file mode 100644
index 0000000..6c5ea3e
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams36.txt
@@ -0,0 +1,37 @@
+36
+ Team0 96 81 23 0 6 4 3 1 2 1 0 0 0 0 0 2 0 0 0 0 0 2 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0
+ Team1 83 90 27 6 0 3 4 1 3 0 0 1 0 0 0 1 0 1 1 1 0 1 0 1 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0
+ Team2 89 91 20 4 3 0 1 2 2 0 1 1 0 0 1 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0
+ Team3 85 88 27 3 4 1 0 4 5 1 2 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 2 0 1
+ Team4 91 94 15 1 1 2 4 0 1 0 0 0 1 0 2 1 0 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90 17 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 5 1 4 0 1 1 0 0 0 0
+Team30 86 89 25 0 1 0 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 0 0 1 0 1 0 4 4 2 2 4
+Team31 95 74 31 0 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 2 0 0 1 1 1 0 2 0 0 0 1 4 0 3 7 3 3
+Team32 84 91 25 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 2 0 1 0 4 3 0 2 4 4
+Team33 90 84 26 0 0 0 2 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 3 0 1 0 2 0 0 0 1 0 0 2 7 2 0 0 3
+Team34 84 93 23 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 2 1 1 0 1 1 1 0 0 2 0 2 3 4 0 0 3
+Team35 87 90 23 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 2 0 4 3 4 3 3 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams4.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams4.txt
new file mode 100644
index 0000000..14c0d90
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams4.txt
@@ -0,0 +1,5 @@
+4
+Atlanta 83 71 8 0 1 6 1
+Philadelphia 80 79 3 1 0 0 2
+New_York 78 78 6 6 0 0 0
+Montreal 77 82 3 1 2 0 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams42.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams42.txt
new file mode 100644
index 0000000..e1437b5
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams42.txt
@@ -0,0 +1,43 @@
+42
+ Team0 34 20 12 0 2 1 2 2 1 0 0 0 0 0 0 0 0 0 0 2 0 1 0 0 1 0 0 0 0 0 0 0 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 0
+Team33 29 26 11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 3 2 1 0 1 2 0 0 0 0 1 0
+Team34 22 30 14 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 2 2 1 0 2 0 1 1 0 1 0
+Team35 27 25 14 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 1 3 2 2 0 1 1 0 0 0 0
+Team36 24 34 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 1 0 1 1 0 0 2
+Team37 20 35 11 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 1 0 0 0 1 1 1 0 1 1 0 0
+Team38 28 27 11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 2 2 2
+Team39 22 31 13 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 2 0 0 0 0 1 2 0 3 0
+Team40 27 27 12 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 2 0 0 0 1 1 0 0 0 2 3 0 0
+Team41 33 27 6 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 2 0 2 0 0 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams48.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams48.txt
new file mode 100644
index 0000000..39c0115
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams48.txt
@@ -0,0 +1,49 @@
+48
+ Team0 29 22 15 0 1 4 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2 1 2 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams4a.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams4a.txt
new file mode 100644
index 0000000..e057f95
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams4a.txt
@@ -0,0 +1,5 @@
+4
+CIA 3 3 3 0 1 0 2
+Ghaddafi 2 5 2 1 0 0 1
+Bin_Ladin 3 6 0 0 0 0 0
+Obama 4 2 3 2 1 0 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams4b.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams4b.txt
new file mode 100644
index 0000000..f892f0e
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams4b.txt
@@ -0,0 +1,5 @@
+4
+Gryffindor 11 6 1 0 0 1 0
+Hufflepuff 7 9 2 0 0 0 2
+Ravenclaw 8 9 1 1 0 0 0
+Slytherin 7 9 2 0 2 0 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams5.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams5.txt
new file mode 100644
index 0000000..3afba94
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams5.txt
@@ -0,0 +1,6 @@
+5
+New_York 75 59 28 0 3 8 7 3
+Baltimore 71 63 28 3 0 2 7 4
+Boston 69 66 27 8 2 0 0 0
+Toronto 63 72 27 7 7 0 0 0
+Detroit 49 86 27 3 4 0 0 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams50.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams50.txt
new file mode 100644
index 0000000..6f17c28
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams50.txt
@@ -0,0 +1,51 @@
+50
+turkey 50 50 50 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
+guineafowl 50 50 50 1 0 1 1 1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1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1
+roadrunner 50 50 50 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1
+owl 50 50 50 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams54.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams54.txt
new file mode 100644
index 0000000..5915309
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams54.txt
@@ -0,0 +1,55 @@
+54
+ Team0 29 24 15 0 4 3 2 2 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team1 27 29 12 4 0 0 0 1 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team2 33 27 8 3 0 0 2 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team3 27 33 8 2 0 2 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team4 26 31 11 2 1 0 1 0 1 0 0 0 1 1 0 0 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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1 0 1 2 1 2 1 0 0 1 0 1 0 0
+Team48 30 27 11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 2 2 3
+Team49 30 26 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 4 0 4
+Team50 25 33 10 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 1 2 3
+Team51 29 22 17 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 2 4 1 0 3 2
+Team52 22 32 14 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 2 0 2 3 0 1
+Team53 30 21 17 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 3 4 3 2 1 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams5a.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams5a.txt
new file mode 100644
index 0000000..0e9d9b1
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams5a.txt
@@ -0,0 +1,6 @@
+5
+New_York 75 59 28 0 4 10 9 5
+Baltimore 71 63 28 4 0 5 11 8
+Boston 69 66 27 10 5 0 2 10
+Toronto 63 72 27 9 11 2 0 5
+Detroit 49 86 28 5 8 10 5 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams5b.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams5b.txt
new file mode 100644
index 0000000..acfe337
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams5b.txt
@@ -0,0 +1,6 @@
+5
+New_York 75 59 21 0 3 8 7 3
+Baltimore 71 63 16 3 0 2 7 4
+Boston 69 66 10 8 2 0 0 0
+Toronto 63 72 14 7 7 0 0 0
+Detroit 49 86 7 3 4 0 0 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams5c.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams5c.txt
new file mode 100644
index 0000000..38e75e7
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams5c.txt
@@ -0,0 +1,6 @@
+5
+New_York 83 62 5 0 3 1 1 0
+Philadelphia 77 69 8 3 0 0 0 0
+Atlanta 76 70 20 1 0 0 19 0
+Florida 78 68 20 1 0 19 0 0
+Washington 0 1000 0 0 0 0 0 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams60.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams60.txt
new file mode 100644
index 0000000..fa979a0
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams60.txt
@@ -0,0 +1,61 @@
+60
+ Team0 33 20 17 0 3 2 1 2 3 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
+ Team1 35 25 10 3 0 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+ Team2 26 29 15 2 2 0 2 2 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0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 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 2 0 2 3
+Team58 29 27 14 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 3 2 2 0 1
+Team59 30 30 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 3 1 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams7.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams7.txt
new file mode 100644
index 0000000..36347d1
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams7.txt
@@ -0,0 +1,8 @@
+7
+U.S.A. 14 5 9 0 1 2 3 1 2 0
+England 12 3 7 1 0 2 1 2 1 0
+France 16 2 7 2 2 0 1 1 1 0
+Germany 13 3 5 3 1 1 0 0 0 0
+Ireland 11 3 5 1 2 1 0 0 1 0
+Belgium 12 4 7 2 1 1 0 1 0 2
+China 13 2 2 0 0 0 0 0 2 0
diff --git a/Algorithms/Part-II/3-BaseballElimination/data/teams8.txt b/Algorithms/Part-II/3-BaseballElimination/data/teams8.txt
new file mode 100644
index 0000000..717d979
--- /dev/null
+++ b/Algorithms/Part-II/3-BaseballElimination/data/teams8.txt
@@ -0,0 +1,9 @@
+8
+Brown 44 51 9 0 0 0 0 0 0 0 9
+Columbia 44 51 9 0 0 0 0 0 0 0 9
+Cornell 44 51 9 0 0 0 0 0 0 0 9
+Dartmouth 44 51 9 0 0 0 0 0 0 0 9
+Penn 44 51 9 0 0 0 0 0 0 0 9
+Harvard 43 60 1 0 0 0 0 0 0 1 0
+Yale 43 60 1 0 0 0 0 0 1 0 0
+Princeton 0 59 45 9 9 9 9 9 0 0 0